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.001415/0.001415, allocations: 108.1 kB / 16.37 MB, free: 6.477 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.001441/0.001441, allocations: 194.7 kB / 17.31 MB, free: 5.824 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.366/1.366, 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.57/2.57, allocations: 437.1 MB / 0.7112 GB, free: 4.375 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001963/0.001963, allocations: 63.25 kB / 0.8707 GB, free: 1.391 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3559/0.3579, allocations: 151.6 MB / 1.019 GB, free: 9.789 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases): time 0.005655/0.3636, allocations: 4.286 MB / 1.023 GB, free: 5.477 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.003688/0.3673, allocations: 2.365 MB / 1.025 GB, free: 3.102 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002399/0.3676, allocations: 19.88 kB / 1.025 GB, free: 3.082 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.001053/0.3687, allocations: 378.2 kB / 1.026 GB, free: 2.711 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.000796/0.3695, allocations: 366.2 kB / 1.026 GB, free: 2.352 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007182/0.3702, allocations: 321.5 kB / 1.026 GB, free: 2.039 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0006669/0.3709, allocations: 0.6827 MB / 1.027 GB, free: 1.352 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003865/0.3713, allocations: 259 kB / 1.027 GB, free: 1.098 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002933/0.3716, allocations: 255.1 kB / 1.027 GB, free: 0.8477 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003257/0.372, allocations: 266.8 kB / 1.028 GB, free: 0.5859 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 4.492e-05/0.372, allocations: 28 kB / 1.028 GB, free: 0.5586 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006569/0.3727, allocations: 435 kB / 1.028 GB, free: 136 kB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0001509/0.3728, allocations: 151.5 kB / 1.028 GB, free: 15.98 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0002055/0.373, allocations: 238.7 kB / 1.029 GB, free: 15.75 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0007502/0.3738, allocations: 0.7358 MB / 1.029 GB, free: 15.01 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.3738, allocations: 4 kB / 1.029 GB, free: 15.01 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.523e-06/0.3738, allocations: 0 / 1.029 GB, free: 15.01 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.124e-06/0.3738, allocations: 0 / 1.029 GB, free: 15.01 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.001076/0.3749, allocations: 0.7832 MB / 1.03 GB, free: 14.18 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.616e-05/0.375, allocations: 8.031 kB / 1.03 GB, free: 14.17 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001333/0.3763, allocations: 192 kB / 1.03 GB, free: 13.98 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006395/0.377, allocations: 432.5 kB / 1.031 GB, free: 13.52 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.713e-05/0.377, allocations: 25.36 kB / 1.031 GB, free: 13.49 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.125e-05/0.3771, allocations: 40.36 kB / 1.031 GB, free: 13.45 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007938/0.3779, allocations: 0.651 MB / 1.031 GB, free: 12.71 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.85e-05/0.3779, allocations: 3.938 kB / 1.031 GB, free: 12.71 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.037e-05/0.3779, allocations: 19.98 kB / 1.031 GB, free: 12.69 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.121e-05/0.378, allocations: 55.91 kB / 1.031 GB, free: 12.63 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006688/0.3787, allocations: 499.3 kB / 1.032 GB, free: 12.14 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003037/0.3817, allocations: 3.782 MB / 1.036 GB, free: 8.102 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001623/0.3834, allocations: 0.6399 MB / 1.036 GB, free: 7.434 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002192/0.3836, allocations: 174.5 kB / 1.036 GB, free: 7.254 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.72e-05/0.3837, allocations: 4 kB / 1.036 GB, free: 7.25 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.141e-05/0.3837, allocations: 42.5 kB / 1.036 GB, free: 7.199 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=30): time 1.613e-06/0.3837, allocations: 0 / 1.036 GB, free: 7.199 MB / 0.8106 GB Notification: Performance of matching and sorting (n=33): time 0.002137/0.3858, allocations: 1.281 MB / 1.038 GB, free: 5.844 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.301e-05/0.3859, allocations: 106.8 kB / 1.038 GB, free: 5.715 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004252/0.3864, allocations: 397.8 kB / 1.038 GB, free: 5.32 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.805e-05/0.3864, allocations: 33.7 kB / 1.038 GB, free: 5.281 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.000189/0.3866, allocations: 275.5 kB / 1.038 GB, free: 5.004 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 8.461e-05/0.3867, allocations: 114.4 kB / 1.039 GB, free: 4.891 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001422/0.3868, allocations: 110.1 kB / 1.039 GB, free: 4.773 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0002035/0.387, allocations: 346.8 kB / 1.039 GB, free: 4.426 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002687/0.3873, allocations: 181 kB / 1.039 GB, free: 4.25 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003946/0.3877, allocations: 371.5 kB / 1.04 GB, free: 3.801 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006784/0.3884, allocations: 0.599 MB / 1.04 GB, free: 3.109 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.081e-05/0.3884, allocations: 7.938 kB / 1.04 GB, free: 3.102 MB / 0.8106 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001009/0.3894, allocations: 0.6752 MB / 1.041 GB, free: 2.41 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.36e-05/0.3895, allocations: 8.094 kB / 1.041 GB, free: 2.402 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.322e-05/0.3895, allocations: 12 kB / 1.041 GB, free: 2.391 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003486/0.3899, allocations: 98.44 kB / 1.041 GB, free: 2.285 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003786/0.3902, allocations: 111.8 kB / 1.041 GB, free: 2.176 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003105/0.3934, allocations: 4.344 MB / 1.045 GB, free: 13.41 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00033/0.3937, allocations: 32.12 kB / 1.045 GB, free: 13.38 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.565e-05/0.3937, allocations: 24 kB / 1.045 GB, free: 13.35 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.0002577/0.394, allocations: 206.1 kB / 1.045 GB, free: 13.14 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001152/0.3941, allocations: 43.53 kB / 1.046 GB, free: 13.1 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008846/0.395, allocations: 0.5146 MB / 1.046 GB, free: 12.57 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.45e-06/0.395, allocations: 4 kB / 1.046 GB, free: 12.56 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.658e-06/0.395, allocations: 7.984 kB / 1.046 GB, free: 12.55 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.113e-06/0.3951, allocations: 0 / 1.046 GB, free: 12.55 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001727/0.3968, allocations: 1.276 MB / 1.047 GB, free: 11.18 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.632e-06/0.3968, allocations: 15.86 kB / 1.047 GB, free: 11.17 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002228/0.397, allocations: 55.91 kB / 1.047 GB, free: 11.11 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002485/0.3973, allocations: 94.78 kB / 1.047 GB, free: 11.01 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.35e-05/0.3973, allocations: 8 kB / 1.047 GB, free: 11 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002922/0.4003, allocations: 4.337 MB / 1.052 GB, free: 6.25 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.295e-06/0.4003, allocations: 0 / 1.052 GB, free: 6.25 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008732/0.4012, allocations: 0.7895 MB / 1.052 GB, free: 5.402 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002115/0.4014, allocations: 152.5 kB / 1.053 GB, free: 5.234 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.551e-05/0.4014, allocations: 11.98 kB / 1.053 GB, free: 5.223 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002964/0.4017, allocations: 19.98 kB / 1.053 GB, free: 5.203 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.703e-05/0.4018, allocations: 39.83 kB / 1.053 GB, free: 5.164 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.185e-05/0.4018, allocations: 16 kB / 1.053 GB, free: 5.148 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0002783/0.4021, allocations: 275.1 kB / 1.053 GB, free: 4.887 MB / 0.8262 GB Notification: Performance of sort global known variables: time 4.41e-07/0.4021, allocations: 0 / 1.053 GB, free: 4.887 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000684/0.4028, allocations: 124 kB / 1.053 GB, free: 4.766 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.0001558/0.403, allocations: 107.2 kB / 1.053 GB, free: 4.652 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.001153/0.4042, allocations: 0.8056 MB / 1.054 GB, free: 3.809 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.4042, allocations: 8 kB / 1.054 GB, free: 3.801 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0006506/0.4048, allocations: 0.5466 MB / 1.055 GB, free: 3.215 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008667/0.4057, allocations: 144.8 kB / 1.055 GB, free: 3.074 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001293/0.407, allocations: 0.8857 MB / 1.056 GB, free: 2.129 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003918/0.4074, allocations: 0.8741 MB / 1.056 GB, free: 1.23 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0002335/0.4077, allocations: 100.5 kB / 1.056 GB, free: 1.129 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.654e-05/0.4077, allocations: 35.44 kB / 1.056 GB, free: 1.094 MB / 0.8262 GB Notification: Performance of SimCode: time 8.02e-07/0.4078, allocations: 0 / 1.056 GB, free: 1.094 MB / 0.8262 GB Notification: Performance of Templates: time 0.009817/0.4176, allocations: 5.77 MB / 1.062 GB, free: 11.38 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 gbode -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