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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001705/0.001705, allocations: 103.3 kB / 16.35 MB, free: 6.285 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.001772/0.001772, allocations: 193.5 kB / 17.29 MB, free: 5.863 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.462/1.462, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.511/2.511, allocations: 437.1 MB / 0.7112 GB, free: 4.371 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001225/0.001225, allocations: 56.78 kB / 0.8707 GB, free: 1.434 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3405/0.3417, allocations: 151.6 MB / 1.019 GB, free: 9.828 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases): time 0.006149/0.3479, allocations: 4.292 MB / 1.023 GB, free: 5.512 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.003969/0.3519, allocations: 2.373 MB / 1.025 GB, free: 3.129 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002422/0.3522, allocations: 15.88 kB / 1.025 GB, free: 3.113 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.001073/0.3533, allocations: 370.8 kB / 1.026 GB, free: 2.75 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0008168/0.3541, allocations: 370.1 kB / 1.026 GB, free: 2.387 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.000761/0.3549, allocations: 319.6 kB / 1.026 GB, free: 2.078 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0008008/0.3557, allocations: 0.6828 MB / 1.027 GB, free: 1.391 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004648/0.3562, allocations: 258 kB / 1.027 GB, free: 1.137 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003314/0.3565, allocations: 258.9 kB / 1.027 GB, free: 0.8828 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003566/0.3569, allocations: 262.9 kB / 1.028 GB, free: 0.625 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 5.385e-05/0.357, allocations: 36 kB / 1.028 GB, free: 0.5898 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006809/0.3576, allocations: 431 kB / 1.028 GB, free: 172 kB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0001507/0.3578, allocations: 147.5 kB / 1.028 GB, free: 24 kB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0002296/0.358, allocations: 234.8 kB / 1.029 GB, free: 15.79 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0007911/0.3588, allocations: 0.7357 MB / 1.029 GB, free: 15.05 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.3589, allocations: 0 / 1.029 GB, free: 15.05 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.415e-06/0.3589, allocations: 0 / 1.029 GB, free: 15.05 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 8.076e-06/0.3589, allocations: 0 / 1.029 GB, free: 15.05 MB / 0.8106 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.001149/0.36, allocations: 0.7987 MB / 1.03 GB, free: 14.21 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.923e-05/0.3601, allocations: 8.031 kB / 1.03 GB, free: 14.2 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001291/0.3614, allocations: 180.1 kB / 1.03 GB, free: 14.02 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006338/0.362, allocations: 456.4 kB / 1.031 GB, free: 13.54 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.366e-05/0.3621, allocations: 21.38 kB / 1.031 GB, free: 13.52 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.03e-05/0.3621, allocations: 36.36 kB / 1.031 GB, free: 13.48 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000825/0.363, allocations: 0.6549 MB / 1.031 GB, free: 12.73 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.096e-05/0.363, allocations: 4 kB / 1.031 GB, free: 12.73 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.141e-05/0.363, allocations: 12 kB / 1.031 GB, free: 12.72 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.702e-05/0.3631, allocations: 55.84 kB / 1.031 GB, free: 12.66 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006843/0.3638, allocations: 499.4 kB / 1.032 GB, free: 12.18 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00305/0.3669, allocations: 3.782 MB / 1.036 GB, free: 8.133 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001661/0.3686, allocations: 0.6283 MB / 1.036 GB, free: 7.477 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002312/0.3688, allocations: 186.4 kB / 1.036 GB, free: 7.285 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.871e-05/0.3688, allocations: 4 kB / 1.036 GB, free: 7.281 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.439e-05/0.3689, allocations: 34.56 kB / 1.036 GB, free: 7.238 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=30): time 2.084e-06/0.3689, allocations: 0 / 1.036 GB, free: 7.238 MB / 0.8106 GB Notification: Performance of matching and sorting (n=33): time 0.002107/0.371, allocations: 1.285 MB / 1.038 GB, free: 5.879 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.498e-05/0.3711, allocations: 110.8 kB / 1.038 GB, free: 5.746 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003991/0.3715, allocations: 393.8 kB / 1.038 GB, free: 5.355 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.751e-05/0.3715, allocations: 29.7 kB / 1.038 GB, free: 5.32 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001789/0.3717, allocations: 291.4 kB / 1.038 GB, free: 5.027 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 8.223e-05/0.3718, allocations: 110.4 kB / 1.039 GB, free: 4.918 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001466/0.3719, allocations: 102.1 kB / 1.039 GB, free: 4.809 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001289/0.3721, allocations: 350.8 kB / 1.039 GB, free: 4.457 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002433/0.3723, allocations: 177 kB / 1.039 GB, free: 4.285 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003653/0.3727, allocations: 379.2 kB / 1.04 GB, free: 3.828 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006766/0.3734, allocations: 0.5912 MB / 1.04 GB, free: 3.145 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.49e-06/0.3734, allocations: 7.938 kB / 1.04 GB, free: 3.137 MB / 0.8106 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.0009955/0.3744, allocations: 0.6676 MB / 1.041 GB, free: 2.453 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.438e-05/0.3744, allocations: 8 kB / 1.041 GB, free: 2.445 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.4e-05/0.3744, allocations: 8 kB / 1.041 GB, free: 2.438 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003477/0.3748, allocations: 94.39 kB / 1.041 GB, free: 2.336 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003863/0.3752, allocations: 115.8 kB / 1.041 GB, free: 2.223 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00335/0.3786, allocations: 4.349 MB / 1.045 GB, free: 13.45 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003981/0.379, allocations: 27.97 kB / 1.045 GB, free: 13.42 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.605e-05/0.379, allocations: 24 kB / 1.045 GB, free: 13.4 MB / 0.8262 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.0002693/0.3793, allocations: 201.6 kB / 1.045 GB, free: 13.19 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001134/0.3794, allocations: 43.53 kB / 1.046 GB, free: 13.15 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008758/0.3803, allocations: 0.5307 MB / 1.046 GB, free: 12.6 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.929e-06/0.3803, allocations: 4 kB / 1.046 GB, free: 12.6 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/0.3803, allocations: 0 / 1.046 GB, free: 12.6 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.592e-06/0.3803, allocations: 3.984 kB / 1.046 GB, free: 12.59 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001749/0.3821, allocations: 1.276 MB / 1.047 GB, free: 11.22 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.25e-06/0.3821, allocations: 4.094 kB / 1.047 GB, free: 11.22 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002398/0.3824, allocations: 67.83 kB / 1.047 GB, free: 11.15 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002651/0.3826, allocations: 90.78 kB / 1.047 GB, free: 11.05 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.623e-05/0.3827, allocations: 8 kB / 1.047 GB, free: 11.05 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003111/0.3858, allocations: 4.345 MB / 1.052 GB, free: 6.285 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.3858, allocations: 4 kB / 1.052 GB, free: 6.281 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000837/0.3866, allocations: 0.7776 MB / 1.052 GB, free: 5.445 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001997/0.3868, allocations: 152.5 kB / 1.053 GB, free: 5.277 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.959e-05/0.3869, allocations: 8 kB / 1.053 GB, free: 5.27 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002979/0.3872, allocations: 27.97 kB / 1.053 GB, free: 5.242 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.637e-05/0.3873, allocations: 35.84 kB / 1.053 GB, free: 5.207 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.19e-05/0.3873, allocations: 12 kB / 1.053 GB, free: 5.195 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0002745/0.3876, allocations: 283.1 kB / 1.053 GB, free: 4.926 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.274e-06/0.3876, allocations: 0 / 1.053 GB, free: 4.926 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0006858/0.3883, allocations: 123.9 kB / 1.053 GB, free: 4.805 MB / 0.8262 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.0001498/0.3884, allocations: 119.2 kB / 1.053 GB, free: 4.68 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.001227/0.3897, allocations: 0.8098 MB / 1.054 GB, free: 3.832 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.3897, allocations: 0 / 1.054 GB, free: 3.832 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0006946/0.3904, allocations: 0.5474 MB / 1.055 GB, free: 3.246 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008787/0.3913, allocations: 137.3 kB / 1.055 GB, free: 3.109 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001429/0.3927, allocations: 0.8843 MB / 1.055 GB, free: 2.168 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005068/0.3932, allocations: 0.8663 MB / 1.056 GB, free: 1.277 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0002636/0.3935, allocations: 108.5 kB / 1.056 GB, free: 1.168 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.197e-05/0.3936, allocations: 39.44 kB / 1.056 GB, free: 1.129 MB / 0.8262 GB Notification: Performance of SimCode: time 5.01e-07/0.3936, allocations: 4 kB / 1.056 GB, free: 1.125 MB / 0.8262 GB Notification: Performance of Templates: time 0.01034/0.404, allocations: 5.766 MB / 1.062 GB, free: 11.41 MB / 0.8419 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 -s cvode -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