Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_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_9_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.001233/0.001233, allocations: 105.1 kB / 16.35 MB, free: 5.824 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.001056/0.001056, allocations: 190.5 kB / 17.29 MB, free: 5.48 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.394/1.394, 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 9.1.2-maint.9.1.x/package.mo): time 2.286/2.286, allocations: 390.3 MB / 0.6655 GB, free: 0.5977 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001514/0.001514, allocations: 62.31 kB / 0.814 GB, free: 32.78 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3258/0.3273, allocations: 140.4 MB / 0.9511 GB, free: 8.043 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases): time 0.006424/0.3338, allocations: 4.289 MB / 0.9553 GB, free: 3.738 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.003744/0.3376, allocations: 2.369 MB / 0.9576 GB, free: 1.359 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002731/0.3379, allocations: 15.88 kB / 0.9576 GB, free: 1.344 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001201/0.3391, allocations: 374.1 kB / 0.958 GB, free: 0.9766 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.000802/0.3399, allocations: 374.1 kB / 0.9584 GB, free: 0.6094 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007597/0.3407, allocations: 319.2 kB / 0.9587 GB, free: 304 kB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0006894/0.3414, allocations: 0.6789 MB / 0.9593 GB, free: 15.61 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004181/0.3418, allocations: 258 kB / 0.9596 GB, free: 15.36 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003061/0.3421, allocations: 259 kB / 0.9598 GB, free: 15.11 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003621/0.3425, allocations: 262.9 kB / 0.9601 GB, free: 14.85 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 4.549e-05/0.3426, allocations: 32 kB / 0.9601 GB, free: 14.82 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007075/0.3433, allocations: 439 kB / 0.9605 GB, free: 14.39 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.000162/0.3434, allocations: 143.5 kB / 0.9607 GB, free: 14.25 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.000219/0.3437, allocations: 230.8 kB / 0.9609 GB, free: 14.02 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.0007634/0.3444, allocations: 0.7436 MB / 0.9616 GB, free: 13.27 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.3445, allocations: 0 / 0.9616 GB, free: 13.27 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.423e-06/0.3445, allocations: 0 / 0.9616 GB, free: 13.27 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 8.245e-06/0.3445, allocations: 0 / 0.9616 GB, free: 13.27 MB / 0.7481 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.001141/0.3456, allocations: 0.7871 MB / 0.9624 GB, free: 12.44 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.791e-05/0.3457, allocations: 8.031 kB / 0.9624 GB, free: 12.43 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001323/0.347, allocations: 184.1 kB / 0.9626 GB, free: 12.25 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006866/0.3477, allocations: 436.4 kB / 0.963 GB, free: 11.79 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.982e-05/0.3477, allocations: 33.36 kB / 0.963 GB, free: 11.75 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.572e-05/0.3478, allocations: 44.33 kB / 0.963 GB, free: 11.71 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008074/0.3486, allocations: 0.647 MB / 0.9637 GB, free: 10.97 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.264e-05/0.3487, allocations: 4 kB / 0.9637 GB, free: 10.97 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.354e-05/0.3487, allocations: 27.91 kB / 0.9637 GB, free: 10.94 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.407e-05/0.3488, allocations: 47.97 kB / 0.9638 GB, free: 10.89 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006991/0.3495, allocations: 497.3 kB / 0.9642 GB, free: 10.41 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003314/0.3528, allocations: 3.786 MB / 0.9679 GB, free: 6.363 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001663/0.3545, allocations: 0.6325 MB / 0.9685 GB, free: 5.703 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002357/0.3547, allocations: 182.4 kB / 0.9687 GB, free: 5.516 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 3.707e-05/0.3548, allocations: 8 kB / 0.9687 GB, free: 5.508 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.713e-05/0.3548, allocations: 30.56 kB / 0.9688 GB, free: 5.469 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=30): time 1.753e-06/0.3548, allocations: 3.938 kB / 0.9688 GB, free: 5.465 MB / 0.7481 GB Notification: Performance of matching and sorting (n=33): time 0.002188/0.357, allocations: 1.276 MB / 0.97 GB, free: 4.113 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.695e-05/0.3571, allocations: 110.8 kB / 0.9701 GB, free: 3.98 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003899/0.3575, allocations: 397.8 kB / 0.9705 GB, free: 3.582 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.719e-05/0.3575, allocations: 29.7 kB / 0.9705 GB, free: 3.547 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001893/0.3577, allocations: 287.4 kB / 0.9708 GB, free: 3.262 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 8.94e-05/0.3578, allocations: 120.1 kB / 0.9709 GB, free: 3.145 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001294/0.358, allocations: 106 kB / 0.971 GB, free: 3.031 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001318/0.3581, allocations: 350.8 kB / 0.9713 GB, free: 2.68 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002435/0.3583, allocations: 177 kB / 0.9715 GB, free: 2.508 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003591/0.3587, allocations: 375.2 kB / 0.9719 GB, free: 2.051 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000671/0.3594, allocations: 0.5913 MB / 0.9724 GB, free: 1.367 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.937e-06/0.3594, allocations: 7.938 kB / 0.9725 GB, free: 1.359 MB / 0.7481 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001007/0.3604, allocations: 0.6639 MB / 0.9731 GB, free: 0.6797 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.053e-05/0.3604, allocations: 12 kB / 0.9731 GB, free: 0.668 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.137e-05/0.3605, allocations: 8 kB / 0.9731 GB, free: 0.6602 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000355/0.3608, allocations: 102.4 kB / 0.9732 GB, free: 0.5508 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003809/0.3612, allocations: 115.8 kB / 0.9733 GB, free: 448 kB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003158/0.3644, allocations: 4.336 MB / 0.9776 GB, free: 11.68 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003476/0.3647, allocations: 31.97 kB / 0.9776 GB, free: 11.65 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.584e-05/0.3648, allocations: 24 kB / 0.9776 GB, free: 11.62 MB / 0.7637 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.0002414/0.365, allocations: 194.9 kB / 0.9778 GB, free: 11.43 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001137/0.3652, allocations: 51.44 kB / 0.9778 GB, free: 11.38 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008312/0.366, allocations: 0.5302 MB / 0.9784 GB, free: 10.82 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.821e-06/0.366, allocations: 11.92 kB / 0.9784 GB, free: 10.8 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.975e-06/0.366, allocations: 0 / 0.9784 GB, free: 10.8 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.953e-06/0.366, allocations: 7.984 kB / 0.9784 GB, free: 10.8 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001731/0.3678, allocations: 1.276 MB / 0.9796 GB, free: 9.426 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.651e-06/0.3678, allocations: 4 kB / 0.9796 GB, free: 9.422 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002336/0.368, allocations: 63.89 kB / 0.9797 GB, free: 9.359 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002415/0.3683, allocations: 90.73 kB / 0.9798 GB, free: 9.262 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.601e-05/0.3683, allocations: 15.98 kB / 0.9798 GB, free: 9.246 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002994/0.3713, allocations: 4.328 MB / 0.984 GB, free: 4.5 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-06/0.3713, allocations: 7.938 kB / 0.984 GB, free: 4.492 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000827/0.3722, allocations: 0.7744 MB / 0.9848 GB, free: 3.66 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002025/0.3724, allocations: 152.5 kB / 0.9849 GB, free: 3.492 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.527e-05/0.3725, allocations: 15.91 kB / 0.9849 GB, free: 3.477 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000297/0.3728, allocations: 19.97 kB / 0.985 GB, free: 3.457 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.345e-05/0.3728, allocations: 43.84 kB / 0.985 GB, free: 3.414 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.765e-05/0.3729, allocations: 8 kB / 0.985 GB, free: 3.406 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.0002764/0.3731, allocations: 279.1 kB / 0.9853 GB, free: 3.141 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3731, allocations: 4 kB / 0.9853 GB, free: 3.137 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.000695/0.3738, allocations: 120.3 kB / 0.9854 GB, free: 3.02 MB / 0.7637 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.0001531/0.374, allocations: 115.2 kB / 0.9855 GB, free: 2.898 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.001265/0.3753, allocations: 0.8021 MB / 0.9863 GB, free: 2.059 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 5.64e-06/0.3753, allocations: 0 / 0.9863 GB, free: 2.059 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0006594/0.376, allocations: 0.5435 MB / 0.9868 GB, free: 1.477 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008866/0.3769, allocations: 147 kB / 0.987 GB, free: 1.344 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001506/0.3784, allocations: 0.898 MB / 0.9878 GB, free: 396 kB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000452/0.3788, allocations: 0.8625 MB / 0.9887 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.000266/0.3791, allocations: 104.4 kB / 0.9888 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.406e-05/0.3792, allocations: 39.42 kB / 0.9888 GB, free: 15.35 MB / 0.7794 GB Notification: Performance of SimCode: time 1.142e-06/0.3792, allocations: 0 / 0.9888 GB, free: 15.35 MB / 0.7794 GB Notification: Performance of Templates: time 0.01152/0.3908, allocations: 5.752 MB / 0.9944 GB, free: 9.648 MB / 0.7794 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.makefile (rm -f Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.sim & ./Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches