Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001788/0.001788, allocations: 88.72 kB / 19.44 MB, free: 356 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002741/0.002741, allocations: 157.7 kB / 22.75 MB, free: 1.684 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.492/1.492, allocations: 177.1 MB / 203.1 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.173/3.173, allocations: 429.6 MB / 0.673 GB, free: 3.887 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Z_L.i.1.|Z_L.i.2.|Z_C.i.1.|Z_C.i.2.|Z_R.i.1.|Z_R.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance") translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Z_L.i.1.|Z_L.i.2.|Z_C.i.1.|Z_C.i.2.|Z_R.i.1.|Z_R.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.723e-06/1.723e-06, allocations: 0 / 0.8776 GB, free: 6.477 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.14e-05/3.312e-05, allocations: 2.812 kB / 0.8776 GB, free: 6.473 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.006702/0.006735, allocations: 3.591 MB / 0.8811 GB, free: 2.891 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.004071/0.01081, allocations: 1.74 MB / 0.8828 GB, free: 1.152 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003551/0.01116, allocations: 23.75 kB / 0.8828 GB, free: 1.129 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.001074/0.01224, allocations: 258.6 kB / 0.8831 GB, free: 0.875 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0009354/0.01317, allocations: 328.5 kB / 0.8834 GB, free: 0.5547 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007246/0.0139, allocations: 257.5 kB / 0.8836 GB, free: 312 kB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.001018/0.01491, allocations: 0.6166 MB / 0.8842 GB, free: 15.68 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005425/0.01546, allocations: 238.5 kB / 0.8845 GB, free: 15.45 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007795/0.01623, allocations: 345 kB / 0.8848 GB, free: 15.11 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004576/0.01669, allocations: 203.4 kB / 0.885 GB, free: 14.91 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 7.581e-05/0.01677, allocations: 28.62 kB / 0.885 GB, free: 14.88 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005335/0.0173, allocations: 241 kB / 0.8852 GB, free: 14.65 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0001967/0.0175, allocations: 131.6 kB / 0.8854 GB, free: 14.52 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0002529/0.01775, allocations: 143.6 kB / 0.8855 GB, free: 14.38 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.001049/0.0188, allocations: 0.6073 MB / 0.8861 GB, free: 13.77 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.0188, allocations: 0 / 0.8861 GB, free: 13.77 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.252e-06/0.01881, allocations: 0.5 kB / 0.8861 GB, free: 13.77 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 2.241e-05/0.01883, allocations: 1.719 kB / 0.8861 GB, free: 13.77 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.001548/0.02038, allocations: 0.6615 MB / 0.8867 GB, free: 13.08 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.02042, allocations: 8.812 kB / 0.8868 GB, free: 13.07 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001133/0.02155, allocations: 201 kB / 0.8869 GB, free: 12.88 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006991/0.02225, allocations: 366.7 kB / 0.8873 GB, free: 12.5 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.047e-05/0.02228, allocations: 21.03 kB / 0.8873 GB, free: 12.48 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.379e-05/0.02235, allocations: 32.36 kB / 0.8873 GB, free: 12.45 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0011/0.02345, allocations: 0.635 MB / 0.888 GB, free: 11.72 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.209e-05/0.02347, allocations: 3.938 kB / 0.888 GB, free: 11.72 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.235e-05/0.02353, allocations: 16 kB / 0.888 GB, free: 11.7 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.566e-05/0.0236, allocations: 40.62 kB / 0.888 GB, free: 11.66 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008262/0.02443, allocations: 406.1 kB / 0.8884 GB, free: 11.27 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003601/0.02803, allocations: 2.687 MB / 0.891 GB, free: 8.465 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007635/0.02879, allocations: 310.5 kB / 0.8913 GB, free: 8.152 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003412/0.02913, allocations: 165.7 kB / 0.8915 GB, free: 7.988 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.964e-05/0.02916, allocations: 8 kB / 0.8915 GB, free: 7.98 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.127e-05/0.02921, allocations: 46.42 kB / 0.8915 GB, free: 7.926 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=26): time 1.824e-06/0.02921, allocations: 0 / 0.8915 GB, free: 7.926 MB / 0.8542 GB Notification: Performance of matching and sorting (n=27): time 0.002333/0.03154, allocations: 0.8402 MB / 0.8924 GB, free: 7.07 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.066e-05/0.03159, allocations: 51.64 kB / 0.8924 GB, free: 7.008 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004259/0.03202, allocations: 337.5 kB / 0.8927 GB, free: 6.672 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 3.374e-05/0.03205, allocations: 29.7 kB / 0.8928 GB, free: 6.637 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002277/0.03228, allocations: 248.1 kB / 0.893 GB, free: 6.391 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001098/0.03239, allocations: 103.1 kB / 0.8931 GB, free: 6.289 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001495/0.03254, allocations: 78.14 kB / 0.8932 GB, free: 6.207 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0002124/0.03275, allocations: 350.8 kB / 0.8935 GB, free: 5.855 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003207/0.03307, allocations: 148.9 kB / 0.8936 GB, free: 5.711 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000461/0.03353, allocations: 291.1 kB / 0.8939 GB, free: 5.363 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008454/0.03438, allocations: 495.4 kB / 0.8944 GB, free: 4.816 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.988e-06/0.03438, allocations: 0 / 0.8944 GB, free: 4.816 MB / 0.8542 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001273/0.03565, allocations: 0.5775 MB / 0.895 GB, free: 4.223 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.493e-05/0.03568, allocations: 8 kB / 0.895 GB, free: 4.215 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.406e-05/0.03569, allocations: 4 kB / 0.895 GB, free: 4.211 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003535/0.03605, allocations: 86.5 kB / 0.8951 GB, free: 4.117 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004046/0.03645, allocations: 88.33 kB / 0.8951 GB, free: 4.031 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.084e-05/0.03647, allocations: 15.98 kB / 0.8952 GB, free: 4.016 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002856/0.03676, allocations: 27.97 kB / 0.8952 GB, free: 3.988 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.28e-05/0.0368, allocations: 16 kB / 0.8952 GB, free: 3.973 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 3 systems {(2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002338/0.03703, allocations: 177.6 kB / 0.8954 GB, free: 3.789 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001019/0.03714, allocations: 43.77 kB / 0.8954 GB, free: 3.746 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001033/0.03817, allocations: 463.9 kB / 0.8958 GB, free: 3.277 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.468e-06/0.03818, allocations: 11.98 kB / 0.8959 GB, free: 3.266 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.037e-06/0.03819, allocations: 0 / 0.8959 GB, free: 3.266 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.672e-06/0.03819, allocations: 3.984 kB / 0.8959 GB, free: 3.262 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001615/0.03981, allocations: 0.8349 MB / 0.8967 GB, free: 2.371 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.851e-06/0.03982, allocations: 4 kB / 0.8967 GB, free: 2.367 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002676/0.04008, allocations: 51.91 kB / 0.8967 GB, free: 2.316 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002752/0.04036, allocations: 82.59 kB / 0.8968 GB, free: 2.227 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.049e-05/0.04039, allocations: 8 kB / 0.8968 GB, free: 2.219 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.847e-06/0.04039, allocations: 0 / 0.8968 GB, free: 2.219 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.182e-06/0.0404, allocations: 11.88 kB / 0.8968 GB, free: 2.207 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00103/0.04143, allocations: 0.559 MB / 0.8974 GB, free: 1.613 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001566/0.04158, allocations: 55.73 kB / 0.8974 GB, free: 1.559 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.322e-05/0.04164, allocations: 8 kB / 0.8974 GB, free: 1.551 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002315/0.04187, allocations: 23.97 kB / 0.8975 GB, free: 1.527 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.65e-05/0.04197, allocations: 27.95 kB / 0.8975 GB, free: 1.5 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.038e-05/0.04199, allocations: 8 kB / 0.8975 GB, free: 1.492 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0002734/0.04226, allocations: 227.2 kB / 0.8977 GB, free: 1.27 MB / 0.8542 GB Notification: Performance of sort global known variables: time 9e-08/0.04226, allocations: 0 / 0.8977 GB, free: 1.27 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0004622/0.04272, allocations: 88 kB / 0.8978 GB, free: 1.184 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 3 systems {(2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001544/0.04288, allocations: 107.1 kB / 0.8979 GB, free: 1.07 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0009085/0.04378, allocations: 391.8 kB / 0.8983 GB, free: 0.6797 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.04379, allocations: 0 / 0.8983 GB, free: 0.6797 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0004301/0.04422, allocations: 197.3 kB / 0.8985 GB, free: 492 kB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007375/0.04496, allocations: 120.9 kB / 0.8986 GB, free: 380 kB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00137/0.04633, allocations: 0.7227 MB / 0.8993 GB, free: 15.61 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002686/0.04659, allocations: 224 kB / 0.8995 GB, free: 15.37 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0002539/0.04685, allocations: 79.28 kB / 0.8996 GB, free: 15.29 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001076/0.04696, allocations: 32.48 kB / 0.8996 GB, free: 15.26 MB / 0.8698 GB Notification: Performance of SimCode: time 7.01e-07/0.04696, allocations: 4 kB / 0.8996 GB, free: 15.25 MB / 0.8698 GB Notification: Performance of Templates: time 0.01128/0.05824, allocations: 4.799 MB / 0.9043 GB, free: 10.61 MB / 0.8698 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.sim & ./Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.205173235968687]