Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.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.Loads.Examples.ThreePhases,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Za.i.1.|Za.i.2.|Zb.i.1.|Zb.i.2.|Zc.i.1.|Zc.i.2.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases") translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Za.i.1.|Za.i.2.|Zb.i.1.|Zb.i.2.|Zc.i.1.|Zc.i.2.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00159/0.00159, allocations: 110.8 kB / 16.41 MB, free: 6.496 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.00168/0.00168, allocations: 187 kB / 17.34 MB, free: 5.762 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.381/1.381, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.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.387/2.387, allocations: 437 MB / 0.7112 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00146/0.00146, allocations: 59.91 kB / 1.019 GB, free: 9.414 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.855/0.8564, allocations: 151.6 MB / 1.167 GB, free: 3.859 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases): time 0.006429/0.8629, allocations: 4.282 MB / 1.171 GB, free: 15.56 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.004245/0.8672, allocations: 2.388 MB / 1.174 GB, free: 13.16 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004898/0.8677, allocations: 19.88 kB / 1.174 GB, free: 13.14 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001326/0.8691, allocations: 366.2 kB / 1.174 GB, free: 12.78 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.001165/0.8703, allocations: 386.2 kB / 1.175 GB, free: 12.4 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009088/0.8712, allocations: 320.7 kB / 1.175 GB, free: 12.09 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0009276/0.8721, allocations: 0.6867 MB / 1.176 GB, free: 11.4 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004969/0.8726, allocations: 258 kB / 1.176 GB, free: 11.14 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004864/0.8731, allocations: 259 kB / 1.176 GB, free: 10.89 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005156/0.8737, allocations: 262.9 kB / 1.176 GB, free: 10.63 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 7.578e-05/0.8738, allocations: 35.94 kB / 1.176 GB, free: 10.6 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007778/0.8745, allocations: 427 kB / 1.177 GB, free: 10.18 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0001906/0.8747, allocations: 143.6 kB / 1.177 GB, free: 10.04 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0002691/0.875, allocations: 238.6 kB / 1.177 GB, free: 9.805 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.00114/0.8762, allocations: 0.7259 MB / 1.178 GB, free: 9.082 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/0.8762, allocations: 0 / 1.178 GB, free: 9.082 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.683e-06/0.8762, allocations: 0 / 1.178 GB, free: 9.082 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 2.137e-05/0.8762, allocations: 7.938 kB / 1.178 GB, free: 9.074 MB / 0.9044 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 99 * Number of variables: 99 Notification: Performance of Generate backend data structure: time 0.001651/0.8779, allocations: 0.7948 MB / 1.179 GB, free: 8.23 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.829e-05/0.8779, allocations: 8.031 kB / 1.179 GB, free: 8.223 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001486/0.8794, allocations: 184.1 kB / 1.179 GB, free: 8.043 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008368/0.8803, allocations: 436.5 kB / 1.179 GB, free: 7.578 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.019e-05/0.8803, allocations: 29.38 kB / 1.179 GB, free: 7.551 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.875e-05/0.8804, allocations: 32.36 kB / 1.179 GB, free: 7.52 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009483/0.8813, allocations: 0.6665 MB / 1.18 GB, free: 6.762 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.281e-05/0.8814, allocations: 3.938 kB / 1.18 GB, free: 6.758 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.052e-05/0.8814, allocations: 16 kB / 1.18 GB, free: 6.742 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.841e-05/0.8815, allocations: 51.97 kB / 1.18 GB, free: 6.691 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008071/0.8823, allocations: 0.4915 MB / 1.18 GB, free: 6.199 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003674/0.886, allocations: 3.778 MB / 1.184 GB, free: 2.16 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001633/0.8877, allocations: 0.6327 MB / 1.185 GB, free: 1.5 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002638/0.8879, allocations: 182.5 kB / 1.185 GB, free: 1.312 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.499e-05/0.888, allocations: 4 kB / 1.185 GB, free: 1.309 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.306e-05/0.888, allocations: 38.56 kB / 1.185 GB, free: 1.262 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=30): time 2.104e-06/0.888, allocations: 3.938 kB / 1.185 GB, free: 1.258 MB / 0.9044 GB Notification: Performance of matching and sorting (n=33): time 0.002406/0.8904, allocations: 1.277 MB / 1.186 GB, free: 15.9 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.367e-05/0.8905, allocations: 106.8 kB / 1.186 GB, free: 15.77 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004357/0.8909, allocations: 389.8 kB / 1.187 GB, free: 15.38 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 3.307e-05/0.891, allocations: 37.7 kB / 1.187 GB, free: 15.34 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002033/0.8912, allocations: 283.4 kB / 1.187 GB, free: 15.06 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001098/0.8913, allocations: 122.3 kB / 1.187 GB, free: 14.94 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00015/0.8915, allocations: 98.16 kB / 1.187 GB, free: 14.83 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.000167/0.8916, allocations: 350.8 kB / 1.188 GB, free: 14.48 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002797/0.8919, allocations: 177 kB / 1.188 GB, free: 14.31 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004109/0.8924, allocations: 379.2 kB / 1.188 GB, free: 13.85 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007434/0.8931, allocations: 0.591 MB / 1.189 GB, free: 13.17 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.565e-06/0.8931, allocations: 7.938 kB / 1.189 GB, free: 13.16 MB / 0.92 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001153/0.8943, allocations: 0.6752 MB / 1.189 GB, free: 12.47 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.753e-05/0.8943, allocations: 10.81 kB / 1.189 GB, free: 12.46 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.469e-05/0.8943, allocations: 4 kB / 1.189 GB, free: 12.46 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003693/0.8947, allocations: 94.45 kB / 1.189 GB, free: 12.36 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004034/0.8951, allocations: 115.8 kB / 1.19 GB, free: 12.24 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003646/0.8988, allocations: 4.36 MB / 1.194 GB, free: 7.457 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004366/0.8992, allocations: 27.97 kB / 1.194 GB, free: 7.43 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.835e-05/0.8993, allocations: 24 kB / 1.194 GB, free: 7.406 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * 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 (60): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003055/0.8996, allocations: 201.5 kB / 1.194 GB, free: 7.199 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001512/0.8998, allocations: 43.44 kB / 1.194 GB, free: 7.156 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009686/0.9008, allocations: 0.5225 MB / 1.195 GB, free: 6.621 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.963e-06/0.9008, allocations: 4 kB / 1.195 GB, free: 6.617 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.806e-06/0.9008, allocations: 4 kB / 1.195 GB, free: 6.613 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.606e-06/0.9008, allocations: 7.969 kB / 1.195 GB, free: 6.605 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001969/0.9028, allocations: 1.288 MB / 1.196 GB, free: 5.223 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.164e-06/0.9028, allocations: 4 kB / 1.196 GB, free: 5.219 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002479/0.9031, allocations: 59.89 kB / 1.196 GB, free: 5.16 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003076/0.9034, allocations: 98.72 kB / 1.196 GB, free: 5.055 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.025e-05/0.9034, allocations: 8 kB / 1.196 GB, free: 5.047 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003743/0.9072, allocations: 4.333 MB / 1.2 GB, free: 300 kB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.357e-06/0.9072, allocations: 3.938 kB / 1.2 GB, free: 296 kB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001038/0.9082, allocations: 0.7853 MB / 1.201 GB, free: 15.45 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002918/0.9085, allocations: 152.5 kB / 1.201 GB, free: 15.28 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.852e-05/0.9086, allocations: 8 kB / 1.201 GB, free: 15.27 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000345/0.909, allocations: 23.97 kB / 1.201 GB, free: 15.25 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.476e-05/0.9091, allocations: 31.91 kB / 1.201 GB, free: 15.21 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.467e-05/0.9091, allocations: 19.94 kB / 1.201 GB, free: 15.2 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0003295/0.9094, allocations: 283.1 kB / 1.201 GB, free: 14.92 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9094, allocations: 0 / 1.201 GB, free: 14.92 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0007426/0.9102, allocations: 120 kB / 1.202 GB, free: 14.8 MB / 0.9356 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 (33): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001937/0.9104, allocations: 115.2 kB / 1.202 GB, free: 14.68 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001407/0.9118, allocations: 0.7988 MB / 1.202 GB, free: 13.84 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 4.969e-06/0.9118, allocations: 0 / 1.202 GB, free: 13.84 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0007265/0.9126, allocations: 0.5512 MB / 1.203 GB, free: 13.25 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009257/0.9135, allocations: 139.4 kB / 1.203 GB, free: 13.12 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001668/0.9152, allocations: 0.9457 MB / 1.204 GB, free: 12.11 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000524/0.9157, allocations: 0.8624 MB / 1.205 GB, free: 11.22 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001246/0.9158, allocations: 43.42 kB / 1.205 GB, free: 11.18 MB / 0.9356 GB Notification: Performance of SimCode: time 7.11e-07/0.9159, allocations: 4 kB / 1.205 GB, free: 11.17 MB / 0.9356 GB Notification: Performance of Templates: time 0.01662/0.9325, allocations: 11.13 MB / 1.216 GB, free: 56 kB / 0.9356 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.makefile (rm -f Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.sim & ./Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches