Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.006097/0.006097, allocations: 98.94 kB / 15.73 MB, free: 6 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.001233/0.001233, allocations: 191.1 kB / 16.67 MB, free: 5.922 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.36/1.36, allocations: 222.9 MB / 240.4 MB, free: 4.156 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.742/2.742, allocations: 469.8 MB / 0.7425 GB, free: 7.32 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00142/0.00142, allocations: 63.89 kB / 1.065 GB, free: 13.07 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3444/0.3458, allocations: 159.1 MB / 1.221 GB, free: 13.82 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases): time 0.006144/0.3519, allocations: 4.288 MB / 1.225 GB, free: 9.504 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.003915/0.3559, allocations: 2.369 MB / 1.227 GB, free: 7.125 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004228/0.3563, allocations: 15.88 kB / 1.227 GB, free: 7.109 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001283/0.3576, allocations: 386.2 kB / 1.227 GB, free: 6.73 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001052/0.3586, allocations: 382.1 kB / 1.228 GB, free: 6.355 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008458/0.3595, allocations: 322.5 kB / 1.228 GB, free: 6.043 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0009611/0.3604, allocations: 0.6789 MB / 1.229 GB, free: 5.363 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004285/0.3608, allocations: 222 kB / 1.229 GB, free: 5.141 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004699/0.3613, allocations: 262.9 kB / 1.229 GB, free: 4.883 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004571/0.3618, allocations: 270.8 kB / 1.23 GB, free: 4.617 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 6.981e-05/0.3618, allocations: 32 kB / 1.23 GB, free: 4.586 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007536/0.3626, allocations: 427 kB / 1.23 GB, free: 4.168 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001864/0.3628, allocations: 147.5 kB / 1.23 GB, free: 4.023 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0002579/0.363, allocations: 238.7 kB / 1.23 GB, free: 3.789 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001071/0.3641, allocations: 0.7393 MB / 1.231 GB, free: 3.047 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.3641, allocations: 0 / 1.231 GB, free: 3.047 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.543e-06/0.3641, allocations: 0 / 1.231 GB, free: 3.047 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 2.013e-05/0.3641, allocations: 0 / 1.231 GB, free: 3.047 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: 99 * Number of variables: 99 Notification: Performance of Generate backend data structure: time 0.001299/0.3654, allocations: 0.8019 MB / 1.232 GB, free: 2.195 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.06e-05/0.3655, allocations: 8.031 kB / 1.232 GB, free: 2.188 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001407/0.3669, allocations: 184.4 kB / 1.232 GB, free: 2.008 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006807/0.3676, allocations: 448.8 kB / 1.232 GB, free: 1.527 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.703e-05/0.3676, allocations: 21.38 kB / 1.232 GB, free: 1.508 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.995e-05/0.3677, allocations: 36.36 kB / 1.233 GB, free: 1.473 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008979/0.3686, allocations: 0.6587 MB / 1.233 GB, free: 0.7266 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.152e-05/0.3686, allocations: 4 kB / 1.233 GB, free: 0.7227 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.562e-05/0.3686, allocations: 12 kB / 1.233 GB, free: 0.7109 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.633e-05/0.3687, allocations: 55.84 kB / 1.233 GB, free: 0.6562 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007296/0.3694, allocations: 499.4 kB / 1.234 GB, free: 172 kB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003235/0.3727, allocations: 3.783 MB / 1.237 GB, free: 12.12 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001663/0.3743, allocations: 0.6126 MB / 1.238 GB, free: 11.48 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002387/0.3746, allocations: 174.4 kB / 1.238 GB, free: 11.3 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.577e-05/0.3746, allocations: 0 / 1.238 GB, free: 11.3 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.452e-05/0.3746, allocations: 34.56 kB / 1.238 GB, free: 11.26 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=30): time 1.413e-06/0.3746, allocations: 0 / 1.238 GB, free: 11.26 MB / 0.9981 GB Notification: Performance of matching and sorting (n=33): time 0.002359/0.377, allocations: 1.302 MB / 1.239 GB, free: 9.887 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.08e-05/0.3771, allocations: 106.8 kB / 1.24 GB, free: 9.758 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004508/0.3775, allocations: 397.8 kB / 1.24 GB, free: 9.352 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.973e-05/0.3775, allocations: 37.7 kB / 1.24 GB, free: 9.309 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001933/0.3777, allocations: 288.1 kB / 1.24 GB, free: 9.023 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 9.784e-05/0.3778, allocations: 123 kB / 1.24 GB, free: 8.902 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001472/0.378, allocations: 98.16 kB / 1.24 GB, free: 8.801 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001458/0.3781, allocations: 354.8 kB / 1.241 GB, free: 8.445 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002572/0.3784, allocations: 177 kB / 1.241 GB, free: 8.273 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003863/0.3788, allocations: 375.7 kB / 1.241 GB, free: 7.816 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000698/0.3795, allocations: 0.5951 MB / 1.242 GB, free: 7.129 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.573e-06/0.3795, allocations: 7.938 kB / 1.242 GB, free: 7.121 MB / 0.9981 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001111/0.3806, allocations: 0.6676 MB / 1.243 GB, free: 6.438 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.242e-05/0.3806, allocations: 8 kB / 1.243 GB, free: 6.43 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.601e-05/0.3806, allocations: 8 kB / 1.243 GB, free: 6.422 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003827/0.381, allocations: 106.6 kB / 1.243 GB, free: 6.309 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003945/0.3814, allocations: 111.8 kB / 1.243 GB, free: 6.199 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003424/0.3848, allocations: 4.336 MB / 1.247 GB, free: 1.445 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003585/0.3852, allocations: 31.97 kB / 1.247 GB, free: 1.414 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.788e-05/0.3852, allocations: 24 kB / 1.247 GB, free: 1.391 MB / 0.9981 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.0002565/0.3855, allocations: 199.6 kB / 1.247 GB, free: 1.188 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001221/0.3856, allocations: 51.67 kB / 1.247 GB, free: 1.137 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008895/0.3865, allocations: 0.5153 MB / 1.248 GB, free: 0.6016 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.269e-06/0.3865, allocations: 4 kB / 1.248 GB, free: 0.5977 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.3865, allocations: 3.984 kB / 1.248 GB, free: 0.5938 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.94e-06/0.3865, allocations: 4 kB / 1.248 GB, free: 0.5898 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.7516/1.138, allocations: 1.281 MB / 1.249 GB, free: 28.78 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.005e-06/1.138, allocations: 3.125 kB / 1.249 GB, free: 28.78 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002635/1.138, allocations: 60.34 kB / 1.249 GB, free: 28.78 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002851/1.139, allocations: 92.86 kB / 1.249 GB, free: 28.76 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.704e-05/1.139, allocations: 9.844 kB / 1.249 GB, free: 28.76 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002575/1.141, allocations: 4.34 MB / 1.253 GB, free: 24.76 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.589e-06/1.141, allocations: 3.188 kB / 1.253 GB, free: 24.76 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001018/1.142, allocations: 0.7811 MB / 1.254 GB, free: 24.36 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001938/1.142, allocations: 151.1 kB / 1.254 GB, free: 24.27 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.012e-05/1.143, allocations: 17.98 kB / 1.254 GB, free: 24.27 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003005/1.143, allocations: 25.72 kB / 1.254 GB, free: 24.26 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.705e-05/1.143, allocations: 33.53 kB / 1.254 GB, free: 24.26 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.566e-05/1.143, allocations: 15.67 kB / 1.254 GB, free: 24.26 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0003573/1.143, allocations: 284.9 kB / 1.255 GB, free: 24.18 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9.1e-08/1.143, allocations: 0 / 1.255 GB, free: 24.18 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0007348/1.144, allocations: 123.4 kB / 1.255 GB, free: 24.18 MB / 0.9981 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.0001399/1.144, allocations: 115.8 kB / 1.255 GB, free: 24.08 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001186/1.145, allocations: 0.7811 MB / 1.256 GB, free: 23.73 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.536e-06/1.145, allocations: 0 / 1.256 GB, free: 23.73 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006302/1.146, allocations: 0.5381 MB / 1.256 GB, free: 23.39 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000867/1.147, allocations: 134 kB / 1.256 GB, free: 23.38 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001389/1.148, allocations: 0.9172 MB / 1.257 GB, free: 22.93 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000319/1.149, allocations: 0.8666 MB / 1.258 GB, free: 22.23 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0002601/1.149, allocations: 105.7 kB / 1.258 GB, free: 22.23 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.239e-05/1.149, allocations: 40.39 kB / 1.258 GB, free: 22.22 MB / 0.9981 GB Notification: Performance of SimCode: time 6.21e-07/1.149, allocations: 0 / 1.258 GB, free: 22.22 MB / 0.9981 GB Notification: Performance of Templates: time 0.01129/1.16, allocations: 5.893 MB / 1.264 GB, free: 21.88 MB / 0.9981 GB make -j1 -f Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.makefile (rm -f Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.sim & ./Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches