Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.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.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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.ThreePhasesBalanced.Loads.Examples.Impedances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Z1.i.1.|Z1.i.2.|Z2.i.1.|Z2.i.2.|Z3.i.1.|Z3.i.2.|Z4.i.1.|Z4.i.2.|Z5.i.1.|Z5.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Z1.i.1.|Z1.i.2.|Z2.i.1.|Z2.i.2.|Z3.i.1.|Z3.i.2.|Z4.i.1.|Z4.i.2.|Z5.i.1.|Z5.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001165/0.001165, allocations: 98.11 kB / 15.36 MB, free: 0.7344 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.009002/0.009003, allocations: 169.4 kB / 16.26 MB, free: 6.652 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.407/1.407, allocations: 223.3 MB / 240.3 MB, free: 5.324 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/Experimental/DHC/UsersGuide/package.mo:2:1-389:15:writable] Warning: UsersGuide was referenced in the package.order file, but was not found in package.mo, UsersGuide/package.mo or UsersGuide.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.656/2.656, allocations: 443.3 MB / 0.7175 GB, free: 1.398 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003643/0.0003643, allocations: 7.719 kB / 0.8796 GB, free: 41.46 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3417/0.3421, allocations: 155.2 MB / 1.031 GB, free: 4.32 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances): time 0.00523/0.3474, allocations: 4.514 MB / 1.036 GB, free: 15.79 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.00404/0.3515, allocations: 2.472 MB / 1.038 GB, free: 13.3 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003167/0.3518, allocations: 23.81 kB / 1.038 GB, free: 13.28 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0003106/0.3521, allocations: 87.22 kB / 1.038 GB, free: 13.2 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.001129/0.3533, allocations: 418 kB / 1.038 GB, free: 12.79 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009358/0.3542, allocations: 374.3 kB / 1.039 GB, free: 12.42 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.001173/0.3554, allocations: 1.132 MB / 1.04 GB, free: 11.29 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008228/0.3562, allocations: 468.2 kB / 1.04 GB, free: 10.8 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003668/0.3566, allocations: 286.6 kB / 1.041 GB, free: 10.52 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004257/0.357, allocations: 338.4 kB / 1.041 GB, free: 10.19 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 4.573e-05/0.3571, allocations: 20 kB / 1.041 GB, free: 10.17 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000728/0.3578, allocations: 491 kB / 1.041 GB, free: 9.688 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0001847/0.358, allocations: 171.4 kB / 1.042 GB, free: 9.52 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0002888/0.3583, allocations: 327.9 kB / 1.042 GB, free: 9.191 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.000886/0.3592, allocations: 0.876 MB / 1.043 GB, free: 8.312 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.3592, allocations: 3.938 kB / 1.043 GB, free: 8.309 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.154e-06/0.3592, allocations: 0 / 1.043 GB, free: 8.309 MB / 0.795 GB Notification: Performance of Transformations before backend: time 9.488e-06/0.3592, allocations: 0 / 1.043 GB, free: 8.309 MB / 0.795 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.001472/0.3607, allocations: 0.8429 MB / 1.044 GB, free: 7.414 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.822e-05/0.3608, allocations: 11.98 kB / 1.044 GB, free: 7.402 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00126/0.362, allocations: 195.9 kB / 1.044 GB, free: 7.211 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006385/0.3627, allocations: 0.4982 MB / 1.044 GB, free: 6.672 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.352e-05/0.3627, allocations: 37.38 kB / 1.044 GB, free: 6.637 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.34e-05/0.3628, allocations: 48.34 kB / 1.044 GB, free: 6.59 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00117/0.364, allocations: 0.8487 MB / 1.045 GB, free: 5.605 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.973e-05/0.3641, allocations: 11.84 kB / 1.045 GB, free: 5.594 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.274e-05/0.3641, allocations: 23.98 kB / 1.045 GB, free: 5.57 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.985e-05/0.3642, allocations: 64.95 kB / 1.045 GB, free: 5.508 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008187/0.365, allocations: 0.5656 MB / 1.046 GB, free: 4.941 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004609/0.3697, allocations: 5.647 MB / 1.051 GB, free: 14.9 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006199/0.3703, allocations: 454.2 kB / 1.052 GB, free: 14.45 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003029/0.3706, allocations: 232.7 kB / 1.052 GB, free: 14.21 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.872e-05/0.3706, allocations: 8.516 kB / 1.052 GB, free: 14.21 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.445e-05/0.3707, allocations: 42.5 kB / 1.052 GB, free: 14.16 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=32): time 1.503e-06/0.3707, allocations: 0 / 1.052 GB, free: 14.16 MB / 0.8106 GB Notification: Performance of matching and sorting (n=33): time 0.002486/0.3732, allocations: 1.505 MB / 1.054 GB, free: 12.54 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.577e-05/0.3733, allocations: 63.61 kB / 1.054 GB, free: 12.46 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005109/0.3738, allocations: 0.499 MB / 1.054 GB, free: 11.95 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.155e-05/0.3738, allocations: 29.7 kB / 1.054 GB, free: 11.91 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002862/0.3741, allocations: 366.8 kB / 1.054 GB, free: 11.55 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 8.806e-05/0.3742, allocations: 118.4 kB / 1.055 GB, free: 11.43 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.716e-05/0.3743, allocations: 49.7 kB / 1.055 GB, free: 11.38 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001676/0.3745, allocations: 366.8 kB / 1.055 GB, free: 11.01 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002755/0.3748, allocations: 189.2 kB / 1.055 GB, free: 10.83 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000438/0.3752, allocations: 455.2 kB / 1.056 GB, free: 10.27 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007782/0.376, allocations: 0.6954 MB / 1.056 GB, free: 9.453 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.097e-06/0.376, allocations: 4 kB / 1.056 GB, free: 9.449 MB / 0.8106 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001294/0.3773, allocations: 0.8095 MB / 1.057 GB, free: 8.617 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.353e-05/0.3773, allocations: 8 kB / 1.057 GB, free: 8.609 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.356e-05/0.3774, allocations: 12 kB / 1.057 GB, free: 8.598 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004793/0.3778, allocations: 152.1 kB / 1.057 GB, free: 8.434 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004255/0.3783, allocations: 127.8 kB / 1.057 GB, free: 8.309 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003315/0.3816, allocations: 4.036 MB / 1.061 GB, free: 3.871 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003357/0.382, allocations: 31.97 kB / 1.061 GB, free: 3.84 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.663e-05/0.382, allocations: 28 kB / 1.061 GB, free: 3.812 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * 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 (66): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems 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.000257/0.3823, allocations: 219.5 kB / 1.062 GB, free: 3.59 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.445e-05/0.3824, allocations: 63.25 kB / 1.062 GB, free: 3.527 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001007/0.3834, allocations: 0.597 MB / 1.062 GB, free: 2.91 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.488e-06/0.3834, allocations: 4 kB / 1.062 GB, free: 2.906 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.935e-06/0.3834, allocations: 0 / 1.062 GB, free: 2.906 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.348e-06/0.3834, allocations: 7.922 kB / 1.062 GB, free: 2.898 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001719/0.3851, allocations: 1.273 MB / 1.063 GB, free: 1.535 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/0.3851, allocations: 4 kB / 1.063 GB, free: 1.531 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002459/0.3854, allocations: 55.89 kB / 1.063 GB, free: 1.477 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000388/0.3858, allocations: 144.4 kB / 1.064 GB, free: 1.32 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.482e-05/0.3858, allocations: 8 kB / 1.064 GB, free: 1.312 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003174/0.389, allocations: 4.02 MB / 1.068 GB, free: 12.89 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/0.389, allocations: 8.016 kB / 1.068 GB, free: 12.89 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001034/0.3901, allocations: 0.7121 MB / 1.068 GB, free: 12.12 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001919/0.3903, allocations: 168.3 kB / 1.068 GB, free: 11.94 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.797e-05/0.3903, allocations: 15.94 kB / 1.068 GB, free: 11.92 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002426/0.3906, allocations: 23.97 kB / 1.068 GB, free: 11.9 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.023e-05/0.3907, allocations: 35.89 kB / 1.068 GB, free: 11.86 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.913e-05/0.3907, allocations: 12 kB / 1.069 GB, free: 11.85 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0003442/0.391, allocations: 338.8 kB / 1.069 GB, free: 11.52 MB / 0.8262 GB Notification: Performance of sort global known variables: time 9e-08/0.391, allocations: 0 / 1.069 GB, free: 11.52 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0005962/0.3916, allocations: 140 kB / 1.069 GB, free: 11.39 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (29): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems 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.0001568/0.3918, allocations: 119.7 kB / 1.069 GB, free: 11.26 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.001391/0.3932, allocations: 1.025 MB / 1.07 GB, free: 10.16 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/0.3932, allocations: 0 / 1.07 GB, free: 10.16 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0008549/0.3941, allocations: 0.7462 MB / 1.071 GB, free: 9.328 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001095/0.3952, allocations: 190.5 kB / 1.071 GB, free: 9.145 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001678/0.3969, allocations: 1.29 MB / 1.072 GB, free: 7.801 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004935/0.3974, allocations: 0.9059 MB / 1.073 GB, free: 6.867 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0003663/0.3978, allocations: 117.3 kB / 1.073 GB, free: 6.75 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.615e-05/0.3979, allocations: 43.44 kB / 1.073 GB, free: 6.707 MB / 0.8262 GB Notification: Performance of SimCode: time 8.72e-07/0.3979, allocations: 0 / 1.073 GB, free: 6.707 MB / 0.8262 GB Notification: Performance of Templates: time 0.0142/0.4121, allocations: 7.277 MB / 1.08 GB, free: 15.51 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches