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.001252/0.001252, allocations: 102.5 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.001349/0.001349, allocations: 193.9 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.531/1.531, 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.234/2.234, allocations: 390.3 MB / 0.6655 GB, free: 0.5859 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001343/0.001343, allocations: 61.98 kB / 0.814 GB, free: 32.75 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3096/0.3109, allocations: 140.4 MB / 0.9511 GB, free: 8.062 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases): time 0.00664/0.3176, allocations: 4.298 MB / 0.9553 GB, free: 3.746 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.004137/0.3218, allocations: 2.365 MB / 0.9576 GB, free: 1.371 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003523/0.3222, allocations: 19.88 kB / 0.9576 GB, free: 1.352 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001336/0.3235, allocations: 378.2 kB / 0.958 GB, free: 0.9805 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0009681/0.3245, allocations: 366.2 kB / 0.9584 GB, free: 0.6211 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008605/0.3254, allocations: 319.2 kB / 0.9587 GB, free: 316 kB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0008144/0.3262, allocations: 0.6789 MB / 0.9593 GB, free: 15.62 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004876/0.3267, allocations: 262 kB / 0.9596 GB, free: 15.37 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000358/0.3271, allocations: 258.9 kB / 0.9598 GB, free: 15.11 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003643/0.3274, allocations: 266.9 kB / 0.9601 GB, free: 14.85 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 5.021e-05/0.3275, allocations: 32 kB / 0.9601 GB, free: 14.82 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007612/0.3283, allocations: 423 kB / 0.9605 GB, free: 14.41 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0001573/0.3284, allocations: 151.5 kB / 0.9607 GB, free: 14.26 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0002325/0.3287, allocations: 238.7 kB / 0.9609 GB, free: 14.02 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.0008629/0.3296, allocations: 0.7359 MB / 0.9616 GB, free: 13.29 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 6.181e-06/0.3296, allocations: 0 / 0.9616 GB, free: 13.29 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.543e-06/0.3296, allocations: 0 / 0.9616 GB, free: 13.29 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 8.345e-06/0.3296, allocations: 0 / 0.9616 GB, free: 13.29 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.001241/0.3308, allocations: 0.7948 MB / 0.9624 GB, free: 12.44 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.501e-05/0.3309, allocations: 8.031 kB / 0.9624 GB, free: 12.43 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001347/0.3322, allocations: 180.1 kB / 0.9626 GB, free: 12.26 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006896/0.3329, allocations: 440.5 kB / 0.963 GB, free: 11.79 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.794e-05/0.333, allocations: 21.38 kB / 0.963 GB, free: 11.77 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.533e-05/0.3331, allocations: 40.36 kB / 0.963 GB, free: 11.73 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000894/0.334, allocations: 0.6626 MB / 0.9637 GB, free: 10.98 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.311e-05/0.334, allocations: 7.938 kB / 0.9637 GB, free: 10.97 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.472e-05/0.3341, allocations: 12 kB / 0.9637 GB, free: 10.96 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.878e-05/0.3341, allocations: 51.97 kB / 0.9638 GB, free: 10.91 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007015/0.3348, allocations: 0.4945 MB / 0.9642 GB, free: 10.41 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003349/0.3382, allocations: 3.775 MB / 0.9679 GB, free: 6.379 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001645/0.3399, allocations: 0.6361 MB / 0.9685 GB, free: 5.715 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002563/0.3401, allocations: 178.4 kB / 0.9687 GB, free: 5.531 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 2.88e-05/0.3402, allocations: 8 kB / 0.9687 GB, free: 5.523 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.746e-05/0.3402, allocations: 34.56 kB / 0.9688 GB, free: 5.48 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=30): time 3.165e-06/0.3403, allocations: 0 / 0.9688 GB, free: 5.48 MB / 0.7481 GB Notification: Performance of matching and sorting (n=33): time 0.002203/0.3425, allocations: 1.284 MB / 0.97 GB, free: 4.121 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.017e-05/0.3425, allocations: 106.8 kB / 0.9701 GB, free: 3.992 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003913/0.3429, allocations: 401.8 kB / 0.9705 GB, free: 3.59 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.705e-05/0.343, allocations: 29.7 kB / 0.9705 GB, free: 3.555 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.000172/0.3431, allocations: 279.4 kB / 0.9708 GB, free: 3.277 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 8.512e-05/0.3432, allocations: 118.4 kB / 0.9709 GB, free: 3.16 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001376/0.3434, allocations: 106.1 kB / 0.971 GB, free: 3.047 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001271/0.3435, allocations: 350.8 kB / 0.9713 GB, free: 2.695 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000246/0.3438, allocations: 177 kB / 0.9715 GB, free: 2.523 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003735/0.3441, allocations: 379.2 kB / 0.9719 GB, free: 2.062 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000688/0.3448, allocations: 0.5913 MB / 0.9724 GB, free: 1.379 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.151e-06/0.3449, allocations: 7.938 kB / 0.9724 GB, free: 1.371 MB / 0.7481 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001022/0.3459, allocations: 0.6674 MB / 0.9731 GB, free: 0.6875 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.547e-05/0.3459, allocations: 8 kB / 0.9731 GB, free: 0.6797 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.403e-05/0.3459, allocations: 12.09 kB / 0.9731 GB, free: 0.668 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003532/0.3463, allocations: 95.84 kB / 0.9732 GB, free: 0.5664 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003953/0.3467, allocations: 111.8 kB / 0.9733 GB, free: 468 kB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003342/0.3501, allocations: 4.336 MB / 0.9776 GB, free: 11.7 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003821/0.3505, allocations: 36.12 kB / 0.9776 GB, free: 11.66 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.568e-05/0.3505, allocations: 24 kB / 0.9776 GB, free: 11.64 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.0002556/0.3508, allocations: 201.5 kB / 0.9778 GB, free: 11.43 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000112/0.3509, allocations: 47.44 kB / 0.9778 GB, free: 11.39 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008834/0.3518, allocations: 0.5265 MB / 0.9784 GB, free: 10.83 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.242e-06/0.3518, allocations: 7.984 kB / 0.9784 GB, free: 10.82 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.052e-06/0.3518, allocations: 3.984 kB / 0.9784 GB, free: 10.82 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.3518, allocations: 3.938 kB / 0.9784 GB, free: 10.82 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001814/0.3536, allocations: 1.283 MB / 0.9796 GB, free: 9.438 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.132e-06/0.3537, allocations: 4 kB / 0.9796 GB, free: 9.434 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002377/0.3539, allocations: 55.91 kB / 0.9797 GB, free: 9.379 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002808/0.3542, allocations: 98.72 kB / 0.9798 GB, free: 9.273 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.893e-05/0.3542, allocations: 8 kB / 0.9798 GB, free: 9.266 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003265/0.3575, allocations: 4.337 MB / 0.984 GB, free: 4.512 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.254e-06/0.3575, allocations: 7.938 kB / 0.984 GB, free: 4.504 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000966/0.3585, allocations: 0.7744 MB / 0.9848 GB, free: 3.672 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002357/0.3587, allocations: 152.5 kB / 0.9849 GB, free: 3.504 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.777e-05/0.3588, allocations: 15.89 kB / 0.9849 GB, free: 3.488 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002992/0.3591, allocations: 23.92 kB / 0.985 GB, free: 3.465 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.272e-05/0.3592, allocations: 35.89 kB / 0.985 GB, free: 3.43 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.336e-05/0.3592, allocations: 16 kB / 0.985 GB, free: 3.414 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.0003082/0.3595, allocations: 275.1 kB / 0.9853 GB, free: 3.152 MB / 0.7637 GB Notification: Performance of sort global known variables: time 3.01e-07/0.3595, allocations: 0 / 0.9853 GB, free: 3.152 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.0007341/0.3603, allocations: 124 kB / 0.9854 GB, free: 3.031 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.0001483/0.3604, allocations: 114.1 kB / 0.9855 GB, free: 2.914 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.001286/0.3617, allocations: 0.8063 MB / 0.9863 GB, free: 2.07 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.3618, allocations: 0 / 0.9863 GB, free: 2.07 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0006924/0.3625, allocations: 0.5469 MB / 0.9868 GB, free: 1.484 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008999/0.3634, allocations: 133.6 kB / 0.987 GB, free: 1.363 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001807/0.3652, allocations: 0.9057 MB / 0.9878 GB, free: 408 kB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005116/0.3657, allocations: 0.8664 MB / 0.9887 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0002664/0.366, allocations: 104.5 kB / 0.9888 GB, free: 15.4 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.588e-05/0.3661, allocations: 35.44 kB / 0.9888 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of SimCode: time 1.102e-06/0.3661, allocations: 0 / 0.9888 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of Templates: time 0.01148/0.3776, allocations: 5.755 MB / 0.9944 GB, free: 9.66 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 cvode -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