Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.Loads.Examples.TestImpedance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Z1.i.1.|Z1.i.2.|Z2.i.1.|Z2.i.2.|Z3.i.1.|Z3.i.2.|Z4.i.1.|Z4.i.2.|Z5.i.1.|Z5.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance") translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Z1.i.1.|Z1.i.2.|Z2.i.1.|Z2.i.2.|Z3.i.1.|Z3.i.2.|Z4.i.1.|Z4.i.2.|Z5.i.1.|Z5.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007547/0.007547, allocations: 101.1 kB / 15.73 MB, free: 6.043 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.001946/0.001946, allocations: 183.8 kB / 16.67 MB, free: 5.977 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.408/1.408, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.695/2.695, allocations: 461.9 MB / 0.7348 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001381/0.001381, allocations: 72.06 kB / 1.054 GB, free: 7.164 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3168/0.3182, allocations: 157.4 MB / 1.208 GB, free: 9.664 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.0066/0.3248, allocations: 4.865 MB / 1.212 GB, free: 4.773 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.004295/0.3291, allocations: 2.444 MB / 1.215 GB, free: 2.32 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005581/0.3297, allocations: 27.75 kB / 1.215 GB, free: 2.293 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001451/0.3313, allocations: 401.9 kB / 1.215 GB, free: 1.898 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001336/0.3326, allocations: 453.6 kB / 1.216 GB, free: 1.453 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001055/0.3337, allocations: 369.2 kB / 1.216 GB, free: 1.094 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.001288/0.335, allocations: 0.9173 MB / 1.217 GB, free: 176 kB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006712/0.3357, allocations: 350.5 kB / 1.217 GB, free: 15.83 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007517/0.3364, allocations: 346.7 kB / 1.218 GB, free: 15.49 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000737/0.3372, allocations: 350.4 kB / 1.218 GB, free: 15.14 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001398/0.3373, allocations: 36 kB / 1.218 GB, free: 15.11 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009763/0.3383, allocations: 411.1 kB / 1.218 GB, free: 14.71 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0003104/0.3386, allocations: 171.5 kB / 1.219 GB, free: 14.54 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0005452/0.3392, allocations: 322.2 kB / 1.219 GB, free: 14.22 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001564/0.3408, allocations: 0.8797 MB / 1.22 GB, free: 13.34 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.3408, allocations: 0 / 1.22 GB, free: 13.34 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.683e-06/0.3408, allocations: 0 / 1.22 GB, free: 13.34 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 3.619e-05/0.3408, allocations: 8 kB / 1.22 GB, free: 13.33 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.001829/0.3427, allocations: 0.9346 MB / 1.221 GB, free: 12.35 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.787e-05/0.3427, allocations: 12.62 kB / 1.221 GB, free: 12.34 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001394/0.3441, allocations: 203.9 kB / 1.221 GB, free: 12.14 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001027/0.3452, allocations: 0.5334 MB / 1.221 GB, free: 11.56 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.307e-05/0.3452, allocations: 33.36 kB / 1.221 GB, free: 11.53 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.161e-05/0.3453, allocations: 44.38 kB / 1.221 GB, free: 11.49 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001096/0.3464, allocations: 0.8409 MB / 1.222 GB, free: 10.51 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.932e-05/0.3465, allocations: 7.938 kB / 1.222 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.6e-05/0.3465, allocations: 23.98 kB / 1.222 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001134/0.3466, allocations: 68.95 kB / 1.222 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008515/0.3475, allocations: 0.5656 MB / 1.223 GB, free: 9.848 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004456/0.352, allocations: 5.639 MB / 1.228 GB, free: 3.816 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006171/0.3526, allocations: 462.8 kB / 1.229 GB, free: 3.355 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002864/0.3529, allocations: 225.2 kB / 1.229 GB, free: 3.133 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.238e-05/0.3529, allocations: 15.91 kB / 1.229 GB, free: 3.117 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.789e-05/0.353, allocations: 42.5 kB / 1.229 GB, free: 3.066 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=32): time 2.415e-06/0.353, allocations: 0 / 1.229 GB, free: 3.066 MB / 0.9825 GB Notification: Performance of matching and sorting (n=33): time 0.002869/0.3559, allocations: 1.501 MB / 1.231 GB, free: 1.449 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.589e-05/0.3559, allocations: 63.67 kB / 1.231 GB, free: 1.375 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006333/0.3566, allocations: 495 kB / 1.231 GB, free: 0.8789 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.104e-05/0.3566, allocations: 29.7 kB / 1.231 GB, free: 0.8438 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003041/0.3569, allocations: 354.8 kB / 1.231 GB, free: 0.4922 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.000112/0.357, allocations: 122.3 kB / 1.232 GB, free: 380 kB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002018/0.3572, allocations: 114.2 kB / 1.232 GB, free: 260 kB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001851/0.3574, allocations: 362.8 kB / 1.232 GB, free: 15.89 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003059/0.3578, allocations: 197.2 kB / 1.232 GB, free: 15.7 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000539/0.3583, allocations: 447.3 kB / 1.233 GB, free: 15.14 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008779/0.3592, allocations: 0.6916 MB / 1.233 GB, free: 14.34 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.564e-06/0.3592, allocations: 4 kB / 1.233 GB, free: 14.33 MB / 0.9981 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001272/0.3605, allocations: 0.8052 MB / 1.234 GB, free: 13.5 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.6e-05/0.3605, allocations: 9.562 kB / 1.234 GB, free: 13.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.521e-05/0.3605, allocations: 8 kB / 1.234 GB, free: 13.49 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005145/0.3611, allocations: 160.7 kB / 1.234 GB, free: 13.32 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004457/0.3615, allocations: 119.8 kB / 1.234 GB, free: 13.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003282/0.3648, allocations: 4.344 MB / 1.239 GB, free: 8.434 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004207/0.3653, allocations: 35.97 kB / 1.239 GB, free: 8.398 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.587e-05/0.3653, allocations: 24 kB / 1.239 GB, free: 8.375 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * 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 (66): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems 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.0002673/0.3656, allocations: 221.6 kB / 1.239 GB, free: 8.148 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001051/0.3657, allocations: 59.25 kB / 1.239 GB, free: 8.09 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001009/0.3667, allocations: 0.5971 MB / 1.24 GB, free: 7.469 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.992e-06/0.3667, allocations: 7.984 kB / 1.24 GB, free: 7.461 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.162e-06/0.3667, allocations: 4 kB / 1.24 GB, free: 7.457 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.3667, allocations: 0 / 1.24 GB, free: 7.457 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001861/0.3686, allocations: 1.265 MB / 1.241 GB, free: 6.098 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.979e-06/0.3686, allocations: 0 / 1.241 GB, free: 6.098 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002624/0.3689, allocations: 51.95 kB / 1.241 GB, free: 6.047 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004053/0.3693, allocations: 148.3 kB / 1.241 GB, free: 5.887 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.001e-05/0.3694, allocations: 15.88 kB / 1.241 GB, free: 5.871 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003251/0.3726, allocations: 4.332 MB / 1.245 GB, free: 1.121 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.416e-06/0.3726, allocations: 3.938 kB / 1.245 GB, free: 1.117 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009878/0.3736, allocations: 0.7038 MB / 1.246 GB, free: 368 kB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002931/0.3739, allocations: 176.3 kB / 1.246 GB, free: 172 kB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.872e-05/0.374, allocations: 8 kB / 1.246 GB, free: 164 kB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002826/0.3743, allocations: 23.97 kB / 1.246 GB, free: 140 kB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.902e-05/0.3744, allocations: 27.91 kB / 1.246 GB, free: 112 kB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.174e-05/0.3744, allocations: 8 kB / 1.246 GB, free: 104 kB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.7127/1.087, allocations: 337.7 kB / 1.246 GB, free: 37.74 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7.72e-07/1.087, allocations: 0 / 1.246 GB, free: 37.74 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0009622/1.088, allocations: 142 kB / 1.247 GB, free: 37.74 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (29): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems 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.0001448/1.088, allocations: 114.7 kB / 1.247 GB, free: 37.65 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001334/1.09, allocations: 1.033 MB / 1.248 GB, free: 37.12 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/1.09, allocations: 2.594 kB / 1.248 GB, free: 37.12 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007194/1.09, allocations: 0.7316 MB / 1.248 GB, free: 36.59 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001035/1.091, allocations: 199.7 kB / 1.249 GB, free: 36.59 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001533/1.093, allocations: 1.033 MB / 1.25 GB, free: 36.14 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003548/1.093, allocations: 0.9039 MB / 1.251 GB, free: 35.44 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0003111/1.094, allocations: 122.5 kB / 1.251 GB, free: 35.43 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.961e-05/1.094, allocations: 38.56 kB / 1.251 GB, free: 35.42 MB / 0.9981 GB Notification: Performance of SimCode: time 4.91e-07/1.094, allocations: 1.094 kB / 1.251 GB, free: 35.42 MB / 0.9981 GB Notification: Performance of Templates: time 0.0151/1.109, allocations: 7.832 MB / 1.258 GB, free: 35 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.sim & ./Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches