Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_L,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_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L,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_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009814/0.0009814, allocations: 98.72 kB / 16.02 MB, free: 72 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.0009149/0.0009151, allocations: 179.7 kB / 16.92 MB, free: 6.918 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.421/1.421, allocations: 223.3 MB / 241 MB, free: 5.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.711/2.711, allocations: 462.6 MB / 0.737 GB, free: 15.53 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003789/0.0003789, allocations: 12.72 kB / 0.9034 GB, free: 36.46 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3324/0.3328, allocations: 159.6 MB / 1.059 GB, free: 4.938 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L): time 0.007207/0.34, allocations: 5.682 MB / 1.065 GB, free: 15.23 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.005105/0.3452, allocations: 3.126 MB / 1.068 GB, free: 12.09 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006149/0.3458, allocations: 27.81 kB / 1.068 GB, free: 12.07 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0004825/0.3463, allocations: 119 kB / 1.068 GB, free: 11.95 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.001319/0.3477, allocations: 438 kB / 1.068 GB, free: 11.52 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001243/0.3489, allocations: 437.9 kB / 1.069 GB, free: 11.09 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.001691/0.3506, allocations: 1.459 MB / 1.07 GB, free: 9.633 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001866/0.3525, allocations: 0.9961 MB / 1.071 GB, free: 8.613 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007175/0.3532, allocations: 358.3 kB / 1.072 GB, free: 8.262 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007473/0.354, allocations: 438.2 kB / 1.072 GB, free: 7.832 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0001072/0.3541, allocations: 32 kB / 1.072 GB, free: 7.801 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001047/0.3552, allocations: 0.5769 MB / 1.073 GB, free: 7.223 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.00031/0.3555, allocations: 251.2 kB / 1.073 GB, free: 6.977 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0004701/0.356, allocations: 383.7 kB / 1.073 GB, free: 6.594 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.001035/0.357, allocations: 0.8886 MB / 1.074 GB, free: 5.703 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.357, allocations: 4 kB / 1.074 GB, free: 5.699 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.693e-06/0.357, allocations: 0 / 1.074 GB, free: 5.699 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.574e-05/0.3571, allocations: 0 / 1.074 GB, free: 5.699 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.00173/0.3588, allocations: 0.9116 MB / 1.075 GB, free: 4.734 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.082e-05/0.3589, allocations: 11.97 kB / 1.075 GB, free: 4.723 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001599/0.3605, allocations: 227.7 kB / 1.075 GB, free: 4.5 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008357/0.3613, allocations: 0.5259 MB / 1.076 GB, free: 3.934 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.459e-05/0.3614, allocations: 53.67 kB / 1.076 GB, free: 3.883 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001256/0.3615, allocations: 64.27 kB / 1.076 GB, free: 3.82 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001505/0.363, allocations: 1.03 MB / 1.077 GB, free: 2.684 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.015e-05/0.3631, allocations: 7.938 kB / 1.077 GB, free: 2.676 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.321e-05/0.3631, allocations: 31.98 kB / 1.077 GB, free: 2.645 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.693e-05/0.3632, allocations: 69.27 kB / 1.077 GB, free: 2.578 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001108/0.3644, allocations: 0.6918 MB / 1.078 GB, free: 1.883 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004926/0.3693, allocations: 5.76 MB / 1.083 GB, free: 11.69 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007995/0.3701, allocations: 0.6057 MB / 1.084 GB, free: 11.04 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007399/0.3709, allocations: 419.6 kB / 1.084 GB, free: 10.63 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 3.22e-05/0.3709, allocations: 4 kB / 1.084 GB, free: 10.62 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.024e-05/0.3709, allocations: 42.5 kB / 1.084 GB, free: 10.57 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=41): time 2.024e-06/0.371, allocations: 0 / 1.084 GB, free: 10.57 MB / 0.8419 GB Notification: Performance of matching and sorting (n=42): time 0.004247/0.3752, allocations: 2.069 MB / 1.086 GB, free: 8.41 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.653e-05/0.3753, allocations: 59.39 kB / 1.086 GB, free: 8.34 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004384/0.3757, allocations: 454.8 kB / 1.087 GB, free: 7.887 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.337e-05/0.3757, allocations: 33.7 kB / 1.087 GB, free: 7.848 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002334/0.376, allocations: 387 kB / 1.087 GB, free: 7.465 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001039/0.3761, allocations: 145.9 kB / 1.087 GB, free: 7.32 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.94e-05/0.3762, allocations: 53.62 kB / 1.087 GB, free: 7.262 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001399/0.3763, allocations: 362.8 kB / 1.088 GB, free: 6.898 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003344/0.3767, allocations: 249.2 kB / 1.088 GB, free: 6.656 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004587/0.3771, allocations: 457 kB / 1.088 GB, free: 6.113 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008722/0.378, allocations: 0.7519 MB / 1.089 GB, free: 5.266 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.378, allocations: 0 / 1.089 GB, free: 5.266 MB / 0.8419 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001805/0.3798, allocations: 1.07 MB / 1.09 GB, free: 4.176 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.017e-05/0.3799, allocations: 9.25 kB / 1.09 GB, free: 4.168 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.202e-05/0.3799, allocations: 8 kB / 1.09 GB, free: 4.16 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00101/0.3809, allocations: 327.3 kB / 1.091 GB, free: 3.828 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003011/0.3812, allocations: 103.8 kB / 1.091 GB, free: 3.727 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006308/0.3875, allocations: 6.954 MB / 1.097 GB, free: 12.24 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004398/0.388, allocations: 36.02 kB / 1.097 GB, free: 12.2 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.89e-05/0.388, allocations: 24 kB / 1.097 GB, free: 12.18 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 (53): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,7,88.9%), (1,5,100.0%), (1,3,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003457/0.3884, allocations: 253.8 kB / 1.098 GB, free: 11.92 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.911e-05/0.3885, allocations: 63.19 kB / 1.098 GB, free: 11.86 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001714/0.3902, allocations: 0.912 MB / 1.099 GB, free: 10.92 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.638e-06/0.3902, allocations: 8 kB / 1.099 GB, free: 10.91 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.072e-06/0.3902, allocations: 4 kB / 1.099 GB, free: 10.91 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.3902, allocations: 0 / 1.099 GB, free: 10.91 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002533/0.3928, allocations: 1.7 MB / 1.1 GB, free: 9.121 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.174e-06/0.3928, allocations: 4.188 kB / 1.1 GB, free: 9.117 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001663/0.393, allocations: 39.97 kB / 1.1 GB, free: 9.078 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009604/0.3939, allocations: 323 kB / 1.101 GB, free: 8.75 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.38e-05/0.394, allocations: 12 kB / 1.101 GB, free: 8.738 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006395/0.4004, allocations: 6.947 MB / 1.108 GB, free: 1.25 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.08e-06/0.4004, allocations: 4 kB / 1.108 GB, free: 1.246 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00175/0.4022, allocations: 1.007 MB / 1.108 GB, free: 196 kB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000269/0.4025, allocations: 176.3 kB / 1.109 GB, free: 0 / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.114e-05/0.4026, allocations: 8.328 kB / 1.109 GB, free: 15.99 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002815/0.4029, allocations: 23.86 kB / 1.109 GB, free: 15.97 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000124/0.403, allocations: 47.94 kB / 1.109 GB, free: 15.92 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.872e-05/0.403, allocations: 15.88 kB / 1.109 GB, free: 15.91 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0003753/0.4034, allocations: 306.9 kB / 1.109 GB, free: 15.61 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4034, allocations: 0 / 1.109 GB, free: 15.61 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0008761/0.4043, allocations: 192 kB / 1.109 GB, free: 15.42 MB / 0.8731 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (23): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,7,88.9%), (2,2,100.0%), (1,3,100.0%), (1,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.0001688/0.4045, allocations: 115.2 kB / 1.109 GB, free: 15.3 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001814/0.4063, allocations: 1.2 MB / 1.111 GB, free: 14.05 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/0.4063, allocations: 4 kB / 1.111 GB, free: 14.04 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.00117/0.4075, allocations: 0.8621 MB / 1.111 GB, free: 13.13 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001075/0.4086, allocations: 184.7 kB / 1.112 GB, free: 12.95 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00213/0.4107, allocations: 1.598 MB / 1.113 GB, free: 11.3 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005861/0.4113, allocations: 0.9882 MB / 1.114 GB, free: 10.29 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.779e-05/0.4114, allocations: 35.44 kB / 1.114 GB, free: 10.26 MB / 0.8731 GB Notification: Performance of SimCode: time 1.252e-06/0.4114, allocations: 0 / 1.114 GB, free: 10.26 MB / 0.8731 GB Notification: Performance of Templates: time 0.02156/0.433, allocations: 18.36 MB / 1.132 GB, free: 7.918 MB / 0.8887 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.sim & ./Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_L.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches