Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001118/0.001118, allocations: 91.84 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.01321/0.01321, allocations: 169.6 kB / 16.26 MB, free: 6.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.508/1.508, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.777/2.777, allocations: 437.8 MB / 0.7121 GB, free: 6.949 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0005123/0.0005125, allocations: 8 kB / 0.8728 GB, free: 3.293 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7568/0.7573, allocations: 153.8 MB / 1.023 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.01347/0.7708, allocations: 10.37 MB / 1.033 GB, free: 5.457 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.01546/0.7863, allocations: 8.676 MB / 1.042 GB, free: 12.75 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002012/0.7884, allocations: 51.62 kB / 1.042 GB, free: 12.7 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.001517/0.7899, allocations: 277.8 kB / 1.042 GB, free: 12.43 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.007014/0.797, allocations: 1.403 MB / 1.043 GB, free: 11.03 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.002618/0.7996, allocations: 0.6161 MB / 1.044 GB, free: 10.41 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.005084/0.8047, allocations: 2.887 MB / 1.047 GB, free: 7.512 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004222/0.8089, allocations: 1.97 MB / 1.049 GB, free: 5.492 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002123/0.8111, allocations: 0.8128 MB / 1.049 GB, free: 4.676 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001905/0.813, allocations: 0.9531 MB / 1.05 GB, free: 3.719 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0003596/0.8134, allocations: 60 kB / 1.05 GB, free: 3.66 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002009/0.8154, allocations: 0.8811 MB / 1.051 GB, free: 2.777 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0007203/0.8161, allocations: 490.3 kB / 1.052 GB, free: 2.297 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.001592/0.8178, allocations: 0.798 MB / 1.053 GB, free: 1.488 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.00434/0.8221, allocations: 2.487 MB / 1.055 GB, free: 14.99 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.743e-06/0.8221, allocations: 0 / 1.055 GB, free: 14.99 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.795e-06/0.8221, allocations: 0 / 1.055 GB, free: 14.99 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 0.0001176/0.8223, allocations: 0 / 1.055 GB, free: 14.99 MB / 0.8106 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.003926/0.8262, allocations: 1.718 MB / 1.057 GB, free: 13.22 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.036e-05/0.8263, allocations: 11.98 kB / 1.057 GB, free: 13.21 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01203/0.8383, allocations: 2.109 MB / 1.059 GB, free: 11.09 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002726/0.8411, allocations: 1.122 MB / 1.06 GB, free: 9.914 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001378/0.8412, allocations: 94.69 kB / 1.06 GB, free: 9.82 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004952/0.8417, allocations: 112.1 kB / 1.06 GB, free: 9.711 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006894/0.8486, allocations: 2.502 MB / 1.062 GB, free: 7.059 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.119e-05/0.8487, allocations: 15.78 kB / 1.062 GB, free: 7.043 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002114/0.8489, allocations: 59.92 kB / 1.063 GB, free: 6.984 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004225/0.8494, allocations: 130.1 kB / 1.063 GB, free: 6.855 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00819/0.8576, allocations: 2.592 MB / 1.065 GB, free: 4.254 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01688/0.8745, allocations: 10.11 MB / 1.075 GB, free: 9.496 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00693/0.8815, allocations: 2.007 MB / 1.077 GB, free: 7.457 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003112/0.8846, allocations: 0.9933 MB / 1.078 GB, free: 6.461 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 7.087e-05/0.8847, allocations: 4.438 kB / 1.078 GB, free: 6.457 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.992e-05/0.8848, allocations: 39 kB / 1.078 GB, free: 6.41 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=53): time 3.907e-06/0.8848, allocations: 0 / 1.078 GB, free: 6.41 MB / 0.8262 GB Notification: Performance of matching and sorting (n=81): time 0.03328/0.9181, allocations: 8.781 MB / 1.087 GB, free: 13.57 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.851e-05/0.9182, allocations: 64.06 kB / 1.087 GB, free: 13.49 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001765/0.92, allocations: 1.097 MB / 1.088 GB, free: 12.38 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 0.0001858/0.9202, allocations: 41.7 kB / 1.088 GB, free: 12.33 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006221/0.9208, allocations: 0.7341 MB / 1.088 GB, free: 11.59 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003657/0.9212, allocations: 291.9 kB / 1.089 GB, free: 11.3 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001944/0.9214, allocations: 77.69 kB / 1.089 GB, free: 11.22 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001409/0.9216, allocations: 341.9 kB / 1.089 GB, free: 10.88 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003183/0.9248, allocations: 1.095 MB / 1.09 GB, free: 9.781 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003359/0.9281, allocations: 1.325 MB / 1.092 GB, free: 8.359 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006674/0.9348, allocations: 2.421 MB / 1.094 GB, free: 5.84 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.558e-06/0.9349, allocations: 4 kB / 1.094 GB, free: 5.836 MB / 0.8419 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.009755/0.9446, allocations: 3.315 MB / 1.097 GB, free: 2.488 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.951e-05/0.9447, allocations: 8 kB / 1.097 GB, free: 2.48 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.896e-05/0.9447, allocations: 8.844 kB / 1.097 GB, free: 2.473 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002898/0.9476, allocations: 0.791 MB / 1.098 GB, free: 1.656 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002129/0.9498, allocations: 427.2 kB / 1.098 GB, free: 1.238 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01695/0.9668, allocations: 14.71 MB / 1.113 GB, free: 1.453 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002899/0.9697, allocations: 295.8 kB / 1.113 GB, free: 1.164 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002887/0.97, allocations: 55.95 kB / 1.113 GB, free: 1.109 MB / 0.8575 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.001161/0.9712, allocations: 401.5 kB / 1.113 GB, free: 0.707 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005053/0.9717, allocations: 142.3 kB / 1.114 GB, free: 0.5664 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009701/0.9814, allocations: 3.249 MB / 1.117 GB, free: 13.27 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.622e-05/0.9815, allocations: 8 kB / 1.117 GB, free: 13.26 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.461e-05/0.9815, allocations: 8 kB / 1.117 GB, free: 13.25 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.543e-05/0.9816, allocations: 3.984 kB / 1.117 GB, free: 13.25 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01232/0.9939, allocations: 4.951 MB / 1.122 GB, free: 8.176 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.375e-06/0.9939, allocations: 0 / 1.122 GB, free: 8.176 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001792/0.9957, allocations: 371.7 kB / 1.122 GB, free: 7.812 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002589/0.9983, allocations: 0.6897 MB / 1.123 GB, free: 7.098 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001425/0.9985, allocations: 31.97 kB / 1.123 GB, free: 7.066 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01538/1.014, allocations: 14.33 MB / 1.137 GB, free: 7.672 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.556e-06/1.014, allocations: 11.88 kB / 1.137 GB, free: 7.66 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009109/1.023, allocations: 3.081 MB / 1.14 GB, free: 4.5 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009039/1.024, allocations: 383.2 kB / 1.14 GB, free: 4.105 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003612/1.024, allocations: 19.88 kB / 1.14 GB, free: 4.086 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0021/1.027, allocations: 307.5 kB / 1.14 GB, free: 3.785 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000318/1.027, allocations: 76.48 kB / 1.14 GB, free: 3.711 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001037/1.027, allocations: 35.97 kB / 1.14 GB, free: 3.676 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.001217/1.028, allocations: 0.7405 MB / 1.141 GB, free: 2.934 MB / 0.8887 GB Notification: Performance of sort global known variables: time 5.21e-07/1.028, allocations: 0 / 1.141 GB, free: 2.934 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.00209/1.03, allocations: 443.9 kB / 1.142 GB, free: 2.5 MB / 0.8887 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.0003846/1.031, allocations: 133.6 kB / 1.142 GB, free: 2.363 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.009557/1.04, allocations: 3.656 MB / 1.145 GB, free: 14.6 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 9.308e-06/1.04, allocations: 0 / 1.145 GB, free: 14.6 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.005953/1.046, allocations: 2.395 MB / 1.148 GB, free: 12.1 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003931/1.05, allocations: 493.2 kB / 1.148 GB, free: 11.62 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009848/1.06, allocations: 4.087 MB / 1.152 GB, free: 7.484 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001689/1.062, allocations: 1.388 MB / 1.153 GB, free: 6.059 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.002122/1.064, allocations: 375.9 kB / 1.154 GB, free: 5.688 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004656/1.064, allocations: 111.4 kB / 1.154 GB, free: 5.578 MB / 0.9044 GB Notification: Performance of SimCode: time 9.72e-07/1.065, allocations: 0 / 1.154 GB, free: 5.578 MB / 0.9044 GB Notification: Performance of Templates: time 0.05334/1.118, allocations: 28.86 MB / 1.182 GB, free: 9.09 MB / 0.9356 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.makefile (rm -f Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.sim & ./Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches