Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.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.001821/0.001821, allocations: 83.69 kB / 20.23 MB, free: 4.18 MB / 18.57 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.001926/0.001926, allocations: 157.3 kB / 23.55 MB, free: 0.8672 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.548/1.548, allocations: 177.1 MB / 203.9 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 3.048/3.048, allocations: 377.8 MB / 0.6232 GB, free: 8.52 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.v.1.|R1.v.2.|R2.v.1.|R2.v.2.|R3.v.1.|R3.v.2.|R1.i.1.|R1.i.2.|load_sc.i.1.|load_sc.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.v.1.|R1.v.2.|R2.v.1.|R2.v.2.|R3.v.1.|R3.v.2.|R1.i.1.|R1.i.2.|load_sc.i.1.|load_sc.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.472e-06/1.472e-06, allocations: 0 / 0.8108 GB, free: 2.086 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.887e-05/3.035e-05, allocations: 2.938 kB / 0.8108 GB, free: 2.082 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.01672/0.01675, allocations: 10.96 MB / 0.8215 GB, free: 7.109 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.01662/0.03338, allocations: 8.909 MB / 0.8302 GB, free: 14.21 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001585/0.03496, allocations: 88.28 kB / 0.8303 GB, free: 14.12 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 0.005213/0.04018, allocations: 1.726 MB / 0.832 GB, free: 12.4 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 0.00522/0.0454, allocations: 1.601 MB / 0.8335 GB, free: 10.8 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.00214/0.04754, allocations: 0.6906 MB / 0.8342 GB, free: 10.11 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.004248/0.05179, allocations: 2.353 MB / 0.8365 GB, free: 7.746 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002258/0.05404, allocations: 1.152 MB / 0.8376 GB, free: 6.562 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00299/0.05703, allocations: 1.535 MB / 0.8391 GB, free: 5.023 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001617/0.05865, allocations: 0.8726 MB / 0.84 GB, free: 4.148 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 0.0002496/0.0589, allocations: 136 kB / 0.8401 GB, free: 4.016 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001726/0.06063, allocations: 0.752 MB / 0.8409 GB, free: 3.262 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 0.0007161/0.06134, allocations: 0.6036 MB / 0.8414 GB, free: 2.656 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 0.0009237/0.06227, allocations: 0.5962 MB / 0.842 GB, free: 2.059 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.004151/0.06642, allocations: 2.605 MB / 0.8446 GB, free: 15.45 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 6.271e-06/0.06642, allocations: 0 / 0.8446 GB, free: 15.45 MB / 0.8073 GB Notification: Performance of FrontEnd: time 2.314e-06/0.06643, allocations: 0 / 0.8446 GB, free: 15.45 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.725e-05/0.06646, allocations: 0 / 0.8446 GB, free: 15.45 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 315 * Number of variables: 315 Notification: Performance of Generate backend data structure: time 0.004062/0.07052, allocations: 2.197 MB / 0.8467 GB, free: 13.2 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.48e-05/0.07057, allocations: 16.03 kB / 0.8467 GB, free: 13.19 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009572/0.08014, allocations: 1.723 MB / 0.8484 GB, free: 11.46 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003155/0.0833, allocations: 1.171 MB / 0.8496 GB, free: 10.24 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.529e-05/0.08339, allocations: 90.69 kB / 0.8496 GB, free: 10.15 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002687/0.08366, allocations: 124.3 kB / 0.8498 GB, free: 10.03 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004344/0.08801, allocations: 1.989 MB / 0.8517 GB, free: 7.809 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.386e-05/0.08806, allocations: 23.81 kB / 0.8517 GB, free: 7.785 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001588/0.08822, allocations: 47.98 kB / 0.8518 GB, free: 7.738 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004071/0.08863, allocations: 130.1 kB / 0.8519 GB, free: 7.609 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004257/0.09288, allocations: 1.245 MB / 0.8531 GB, free: 6.355 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01449/0.1074, allocations: 8.508 MB / 0.8614 GB, free: 13.63 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003443/0.1108, allocations: 0.8223 MB / 0.8622 GB, free: 12.8 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001493/0.1123, allocations: 424.8 kB / 0.8626 GB, free: 12.38 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 5.46e-05/0.1124, allocations: 8.5 kB / 0.8626 GB, free: 12.37 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.808e-05/0.1124, allocations: 41.89 kB / 0.8627 GB, free: 12.32 MB / 0.823 GB Notification: Performance of pre-optimization done (n=53): time 2.875e-06/0.1124, allocations: 0 / 0.8627 GB, free: 12.32 MB / 0.823 GB Notification: Performance of matching and sorting (n=81): time 0.01587/0.1283, allocations: 4.094 MB / 0.8667 GB, free: 8.188 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.019e-05/0.1283, allocations: 60.06 kB / 0.8667 GB, free: 8.117 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001737/0.1301, allocations: 1.194 MB / 0.8679 GB, free: 6.91 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001136/0.1302, allocations: 41.7 kB / 0.8679 GB, free: 6.863 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008145/0.131, allocations: 0.8547 MB / 0.8688 GB, free: 6 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003868/0.1314, allocations: 317.5 kB / 0.8691 GB, free: 5.688 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004729/0.1319, allocations: 224.2 kB / 0.8693 GB, free: 5.457 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0003359/0.1322, allocations: 0.5433 MB / 0.8698 GB, free: 4.906 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001993/0.1342, allocations: 0.5249 MB / 0.8703 GB, free: 4.383 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002073/0.1363, allocations: 0.8679 MB / 0.8712 GB, free: 3.391 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00386/0.1401, allocations: 1.437 MB / 0.8726 GB, free: 1.824 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.988e-06/0.1401, allocations: 4 kB / 0.8726 GB, free: 1.82 MB / 0.823 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.006727/0.1469, allocations: 2.109 MB / 0.8746 GB, free: 15.66 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.889e-05/0.1469, allocations: 8.125 kB / 0.8747 GB, free: 15.66 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.751e-05/0.1469, allocations: 12 kB / 0.8747 GB, free: 15.64 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004177/0.1511, allocations: 0.8365 MB / 0.8755 GB, free: 14.78 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001569/0.1527, allocations: 303.4 kB / 0.8758 GB, free: 14.48 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02036/0.173, allocations: 16.47 MB / 0.8919 GB, free: 13.02 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001883/0.1749, allocations: 183.8 kB / 0.892 GB, free: 12.84 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000141/0.175, allocations: 47.97 kB / 0.8921 GB, free: 12.79 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (82): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,2,100.0%), (2,2,100.0%), (3,5,100.0%), (3,5,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006978/0.1757, allocations: 293.6 kB / 0.8924 GB, free: 12.49 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003553/0.1761, allocations: 159.2 kB / 0.8925 GB, free: 12.34 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006613/0.1827, allocations: 1.915 MB / 0.8944 GB, free: 10.38 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.508e-05/0.1827, allocations: 8 kB / 0.8944 GB, free: 10.37 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.629e-05/0.1827, allocations: 11.94 kB / 0.8944 GB, free: 10.36 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.027e-05/0.1828, allocations: 3.984 kB / 0.8944 GB, free: 10.35 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009542/0.1923, allocations: 3.396 MB / 0.8977 GB, free: 6.836 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.801e-06/0.1923, allocations: 4.344 kB / 0.8977 GB, free: 6.832 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001511/0.1938, allocations: 247.5 kB / 0.898 GB, free: 6.59 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003772/0.1976, allocations: 0.7859 MB / 0.8987 GB, free: 5.77 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001186/0.1977, allocations: 35.91 kB / 0.8988 GB, free: 5.734 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01946/0.2172, allocations: 16.35 MB / 0.9147 GB, free: 4.398 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.784e-06/0.2172, allocations: 7.938 kB / 0.9147 GB, free: 4.391 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006341/0.2235, allocations: 1.954 MB / 0.9166 GB, free: 2.336 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009808/0.2245, allocations: 287 kB / 0.9169 GB, free: 2.055 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002643/0.2248, allocations: 20 kB / 0.9169 GB, free: 2.035 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001621/0.2264, allocations: 183.6 kB / 0.9171 GB, free: 1.855 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003246/0.2267, allocations: 84.44 kB / 0.9172 GB, free: 1.773 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001121/0.2268, allocations: 43.91 kB / 0.9172 GB, free: 1.73 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.001157/0.228, allocations: 0.7204 MB / 0.9179 GB, free: 1.004 MB / 0.8698 GB Notification: Performance of sort global known variables: time 8.1e-08/0.228, allocations: 0 / 0.9179 GB, free: 1.004 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001802/0.2298, allocations: 440 kB / 0.9184 GB, free: 0.5742 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (46): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (3,5,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (3,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003019/0.2301, allocations: 135 kB / 0.9185 GB, free: 444 kB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.007162/0.2372, allocations: 2.955 MB / 0.9214 GB, free: 13.34 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 6.763e-06/0.2372, allocations: 0 / 0.9214 GB, free: 13.34 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.004437/0.2417, allocations: 2.28 MB / 0.9236 GB, free: 10.91 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002335/0.244, allocations: 0.5106 MB / 0.9241 GB, free: 10.42 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007794/0.2518, allocations: 3.032 MB / 0.9271 GB, free: 7.301 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001082/0.2529, allocations: 0.7781 MB / 0.9278 GB, free: 6.484 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.001293/0.2542, allocations: 302.6 kB / 0.9281 GB, free: 6.184 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003452/0.2545, allocations: 96.44 kB / 0.9282 GB, free: 6.09 MB / 0.8855 GB Notification: Performance of SimCode: time 1.673e-06/0.2545, allocations: 0 / 0.9282 GB, free: 6.09 MB / 0.8855 GB Notification: Performance of Templates: time 0.05924/0.3138, allocations: 31.82 MB / 0.9593 GB, free: 6.906 MB / 0.9167 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.sim & ./Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.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: 9.2429219619371]