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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001039/0.001039, allocations: 92.7 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001333/0.001333, allocations: 178.9 kB / 16.92 MB, free: 6.652 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.483/1.483, allocations: 223.3 MB / 241 MB, free: 5.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.655/2.655, allocations: 437.8 MB / 0.7128 GB, free: 6.953 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003421/0.0003422, allocations: 12 kB / 0.8735 GB, free: 3.277 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6687/0.6691, allocations: 153.8 MB / 1.024 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.0123/0.6814, allocations: 10.36 MB / 1.034 GB, free: 5.457 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.01391/0.6954, allocations: 8.68 MB / 1.042 GB, free: 12.75 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001845/0.6973, allocations: 51.62 kB / 1.042 GB, free: 12.7 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.001443/0.6987, allocations: 277.8 kB / 1.043 GB, free: 12.43 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.004908/0.7037, allocations: 1.399 MB / 1.044 GB, free: 11.02 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.002035/0.7057, allocations: 0.6199 MB / 1.045 GB, free: 10.41 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.003787/0.7095, allocations: 2.891 MB / 1.047 GB, free: 7.504 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003919/0.7135, allocations: 1.967 MB / 1.049 GB, free: 5.484 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002394/0.7159, allocations: 0.8167 MB / 1.05 GB, free: 4.664 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002382/0.7183, allocations: 0.9375 MB / 1.051 GB, free: 3.723 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0004296/0.7188, allocations: 64 kB / 1.051 GB, free: 3.66 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001977/0.7208, allocations: 0.8811 MB / 1.052 GB, free: 2.777 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0007309/0.7215, allocations: 486.4 kB / 1.052 GB, free: 2.301 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.001289/0.7228, allocations: 0.8019 MB / 1.053 GB, free: 1.488 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.002607/0.7254, allocations: 1.987 MB / 1.055 GB, free: 15.5 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.7255, allocations: 0 / 1.055 GB, free: 15.5 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.144e-06/0.7255, allocations: 0 / 1.055 GB, free: 15.5 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 8.744e-05/0.7256, allocations: 0 / 1.055 GB, free: 15.5 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.003927/0.7295, allocations: 1.703 MB / 1.057 GB, free: 13.74 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.476e-05/0.7295, allocations: 15.98 kB / 1.057 GB, free: 13.72 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01221/0.7418, allocations: 2.109 MB / 1.059 GB, free: 11.61 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002485/0.7443, allocations: 1.126 MB / 1.06 GB, free: 10.43 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.442e-05/0.7444, allocations: 82.7 kB / 1.06 GB, free: 10.34 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004236/0.7448, allocations: 120 kB / 1.06 GB, free: 10.23 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007113/0.752, allocations: 2.51 MB / 1.063 GB, free: 7.566 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.901e-05/0.7521, allocations: 11.84 kB / 1.063 GB, free: 7.555 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002903/0.7524, allocations: 52 kB / 1.063 GB, free: 7.504 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004506/0.7528, allocations: 130.1 kB / 1.063 GB, free: 7.375 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00823/0.7611, allocations: 2.592 MB / 1.065 GB, free: 4.773 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0153/0.7764, allocations: 10.11 MB / 1.075 GB, free: 10.01 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006814/0.7833, allocations: 1.999 MB / 1.077 GB, free: 7.977 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003091/0.7864, allocations: 0.9933 MB / 1.078 GB, free: 6.98 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 5.731e-05/0.7865, allocations: 8.422 kB / 1.078 GB, free: 6.973 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.658e-05/0.7865, allocations: 39 kB / 1.078 GB, free: 6.926 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=53): time 2.805e-06/0.7866, allocations: 0 / 1.078 GB, free: 6.926 MB / 0.8262 GB Notification: Performance of matching and sorting (n=81): time 0.0329/0.8195, allocations: 8.785 MB / 1.087 GB, free: 14.07 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.417e-05/0.8195, allocations: 60.06 kB / 1.087 GB, free: 14 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00155/0.8211, allocations: 1.101 MB / 1.088 GB, free: 12.89 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 0.0001483/0.8213, allocations: 41.7 kB / 1.088 GB, free: 12.84 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005363/0.8218, allocations: 0.7341 MB / 1.089 GB, free: 12.1 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002985/0.8221, allocations: 283.9 kB / 1.089 GB, free: 11.82 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001722/0.8223, allocations: 77.67 kB / 1.089 GB, free: 11.73 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0002273/0.8225, allocations: 345.9 kB / 1.089 GB, free: 11.39 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003256/0.8258, allocations: 1.099 MB / 1.09 GB, free: 10.29 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003426/0.8292, allocations: 1.329 MB / 1.092 GB, free: 8.863 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006775/0.836, allocations: 2.421 MB / 1.094 GB, free: 6.344 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.765e-06/0.8361, allocations: 4 kB / 1.094 GB, free: 6.34 MB / 0.8419 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.00988/0.846, allocations: 3.319 MB / 1.097 GB, free: 2.988 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.979e-05/0.846, allocations: 8 kB / 1.097 GB, free: 2.98 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.592e-05/0.846, allocations: 8 kB / 1.097 GB, free: 2.973 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002961/0.849, allocations: 0.7877 MB / 1.098 GB, free: 2.16 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002132/0.8512, allocations: 427.2 kB / 1.098 GB, free: 1.742 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01601/0.8672, allocations: 14.71 MB / 1.113 GB, free: 1.961 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002544/0.8698, allocations: 299.6 kB / 1.113 GB, free: 1.668 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002216/0.87, allocations: 55.95 kB / 1.113 GB, free: 1.613 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.0009055/0.8709, allocations: 405.1 kB / 1.114 GB, free: 1.211 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003383/0.8713, allocations: 146.3 kB / 1.114 GB, free: 1.066 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0095/0.8808, allocations: 3.237 MB / 1.117 GB, free: 13.79 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.331e-05/0.8808, allocations: 8 kB / 1.117 GB, free: 13.78 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.851e-05/0.8809, allocations: 12 kB / 1.117 GB, free: 13.77 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.07e-05/0.8809, allocations: 3.984 kB / 1.117 GB, free: 13.76 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01239/0.8933, allocations: 4.951 MB / 1.122 GB, free: 8.684 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.84e-05/0.8934, allocations: 7.984 kB / 1.122 GB, free: 8.676 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001772/0.8952, allocations: 359.7 kB / 1.122 GB, free: 8.324 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002579/0.8978, allocations: 0.7052 MB / 1.123 GB, free: 7.594 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000158/0.8979, allocations: 31.91 kB / 1.123 GB, free: 7.562 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01437/0.9123, allocations: 14.33 MB / 1.137 GB, free: 8.164 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.392e-06/0.9124, allocations: 4 kB / 1.137 GB, free: 8.16 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008685/0.921, allocations: 3.081 MB / 1.14 GB, free: 5 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007877/0.9219, allocations: 383.2 kB / 1.14 GB, free: 4.605 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003066/0.9222, allocations: 23.88 kB / 1.14 GB, free: 4.582 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002082/0.9243, allocations: 303.5 kB / 1.141 GB, free: 4.285 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002614/0.9246, allocations: 76.5 kB / 1.141 GB, free: 4.211 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001025/0.9247, allocations: 39.95 kB / 1.141 GB, free: 4.172 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.001067/0.9257, allocations: 0.7366 MB / 1.141 GB, free: 3.434 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9257, allocations: 0 / 1.141 GB, free: 3.434 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.001587/0.9273, allocations: 435.9 kB / 1.142 GB, free: 3.008 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.000262/0.9276, allocations: 132.1 kB / 1.142 GB, free: 2.871 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.008571/0.9362, allocations: 3.66 MB / 1.145 GB, free: 15.11 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 4.879e-06/0.9362, allocations: 0 / 1.145 GB, free: 15.11 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.005103/0.9413, allocations: 2.395 MB / 1.148 GB, free: 12.6 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002923/0.9443, allocations: 496.5 kB / 1.148 GB, free: 12.13 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008203/0.9525, allocations: 4.202 MB / 1.152 GB, free: 7.867 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00123/0.9538, allocations: 1.391 MB / 1.154 GB, free: 6.438 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006049/0.9544, allocations: 123.3 kB / 1.154 GB, free: 6.316 MB / 0.9044 GB Notification: Performance of SimCode: time 7.61e-07/0.9544, allocations: 0 / 1.154 GB, free: 6.316 MB / 0.9044 GB Notification: Performance of Templates: time 0.07712/1.032, allocations: 74.76 MB / 1.227 GB, free: 11.61 MB / 0.9825 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/jenkins1/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