Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.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: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001068/0.001071, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.000973/0.000973, allocations: 193.3 kB / 16.14 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.229/1.229, allocations: 222.9 MB / 239.8 MB, free: 4.488 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.453/2.453, allocations: 461.8 MB / 0.7342 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001258/0.001258, allocations: 70.23 kB / 0.8985 GB, free: 36.91 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2527/0.254, allocations: 157.4 MB / 1.052 GB, free: 8.215 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances): time 0.01679/0.2708, allocations: 15.92 MB / 1.068 GB, free: 8.234 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.007095/0.2779, allocations: 4.821 MB / 1.072 GB, free: 3.398 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001004/0.279, allocations: 59.69 kB / 1.073 GB, free: 3.34 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.002389/0.2814, allocations: 0.9714 MB / 1.073 GB, free: 2.367 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.001558/0.283, allocations: 0.6963 MB / 1.074 GB, free: 1.668 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001908/0.2849, allocations: 0.8332 MB / 1.075 GB, free: 0.8359 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.004293/0.2892, allocations: 5.268 MB / 1.08 GB, free: 11.56 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006705/0.2959, allocations: 5.413 MB / 1.085 GB, free: 6.078 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001843/0.2978, allocations: 1.343 MB / 1.087 GB, free: 4.73 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002398/0.3002, allocations: 1.807 MB / 1.088 GB, free: 2.918 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0006301/0.3008, allocations: 240 kB / 1.089 GB, free: 2.684 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001775/0.3026, allocations: 0.8268 MB / 1.09 GB, free: 1.855 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.001333/0.3039, allocations: 1.224 MB / 1.091 GB, free: 0.6289 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.001336/0.3053, allocations: 1.346 MB / 1.092 GB, free: 15.28 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.003568/0.3089, allocations: 5.052 MB / 1.097 GB, free: 10.21 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/0.3089, allocations: 4 kB / 1.097 GB, free: 10.21 MB / 0.8575 GB Notification: Performance of FrontEnd: time 8.21e-07/0.3089, allocations: 4 kB / 1.097 GB, free: 10.2 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 3.345e-05/0.3089, allocations: 0 / 1.097 GB, free: 10.2 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 641 * Number of variables: 641 Notification: Performance of Generate backend data structure: time 0.003834/0.3128, allocations: 2.652 MB / 1.1 GB, free: 7.492 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.556e-05/0.3128, allocations: 15.97 kB / 1.1 GB, free: 7.477 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000412/0.3132, allocations: 370.5 kB / 1.1 GB, free: 7.105 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003586/0.3168, allocations: 0.8329 MB / 1.101 GB, free: 6.27 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002049/0.3189, allocations: 1.501 MB / 1.102 GB, free: 4.723 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001091/0.319, allocations: 181.1 kB / 1.102 GB, free: 4.543 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003217/0.3193, allocations: 232.4 kB / 1.103 GB, free: 4.316 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005336/0.3247, allocations: 4.157 MB / 1.107 GB, free: 20 kB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.108e-05/0.3247, allocations: 8 kB / 1.107 GB, free: 12 kB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002403/0.325, allocations: 108 kB / 1.107 GB, free: 15.91 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000161/0.3251, allocations: 164.5 kB / 1.107 GB, free: 15.74 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004798/0.3299, allocations: 3.636 MB / 1.11 GB, free: 12.09 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01451/0.3445, allocations: 16.54 MB / 1.127 GB, free: 10.12 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002891/0.3474, allocations: 2.294 MB / 1.129 GB, free: 7.621 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007542/0.3481, allocations: 0.5741 MB / 1.129 GB, free: 7.039 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001212/0.3483, allocations: 93.66 kB / 1.13 GB, free: 6.93 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.852e-05/0.3483, allocations: 43.12 kB / 1.13 GB, free: 6.879 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=72): time 2.335e-06/0.3483, allocations: 0 / 1.13 GB, free: 6.879 MB / 0.8887 GB Notification: Performance of matching and sorting (n=76): time 0.004578/0.3529, allocations: 3.424 MB / 1.133 GB, free: 3.348 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.431e-05/0.353, allocations: 115.4 kB / 1.133 GB, free: 3.211 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001057/0.354, allocations: 1.026 MB / 1.134 GB, free: 2.16 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 4.224e-05/0.3541, allocations: 41.7 kB / 1.134 GB, free: 2.113 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005378/0.3546, allocations: 1.095 MB / 1.135 GB, free: 1 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001742/0.3548, allocations: 280.2 kB / 1.135 GB, free: 0.7227 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003386/0.3552, allocations: 279.2 kB / 1.136 GB, free: 456 kB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.000158/0.3553, allocations: 414.7 kB / 1.136 GB, free: 32 kB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000835/0.3562, allocations: 0.6129 MB / 1.137 GB, free: 15.41 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001124/0.3573, allocations: 1.189 MB / 1.138 GB, free: 13.96 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001927/0.3592, allocations: 1.864 MB / 1.14 GB, free: 11.83 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.666e-06/0.3592, allocations: 8 kB / 1.14 GB, free: 11.82 MB / 0.9044 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.002709/0.362, allocations: 2.01 MB / 1.142 GB, free: 9.789 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.166e-05/0.362, allocations: 12 kB / 1.142 GB, free: 9.777 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.233e-05/0.362, allocations: 24 kB / 1.142 GB, free: 9.754 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003952/0.3624, allocations: 175.9 kB / 1.142 GB, free: 9.57 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001023/0.3635, allocations: 343.4 kB / 1.142 GB, free: 9.234 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.071e-05/0.3635, allocations: 39.86 kB / 1.142 GB, free: 9.195 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007836/0.3643, allocations: 135.6 kB / 1.142 GB, free: 9.062 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.886e-05/0.3644, allocations: 71.92 kB / 1.142 GB, free: 8.992 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 86 * 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 (169): * Single equations (assignments): 165 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 4 systems {(2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001024/0.3654, allocations: 0.981 MB / 1.143 GB, free: 8 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001746/0.3656, allocations: 114.6 kB / 1.143 GB, free: 7.887 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001773/0.3674, allocations: 1.226 MB / 1.145 GB, free: 6.637 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.494e-06/0.3674, allocations: 8 kB / 1.145 GB, free: 6.629 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.416e-06/0.3674, allocations: 4 kB / 1.145 GB, free: 6.625 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.343e-06/0.3674, allocations: 3.984 kB / 1.145 GB, free: 6.621 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004546/0.372, allocations: 3.8 MB / 1.148 GB, free: 2.68 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.195e-06/0.372, allocations: 4 kB / 1.148 GB, free: 2.676 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005568/0.3726, allocations: 159.8 kB / 1.148 GB, free: 2.52 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003232/0.3729, allocations: 147.5 kB / 1.149 GB, free: 2.363 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.288e-05/0.3729, allocations: 16 kB / 1.149 GB, free: 2.348 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.076e-05/0.373, allocations: 15.92 kB / 1.149 GB, free: 2.332 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.373, allocations: 3.984 kB / 1.149 GB, free: 2.328 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001649/0.3746, allocations: 1.461 MB / 1.15 GB, free: 0.8125 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000321/0.375, allocations: 271.7 kB / 1.15 GB, free: 0.5273 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001268/0.3751, allocations: 23.98 kB / 1.15 GB, free: 0.5039 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005309/0.3756, allocations: 67.91 kB / 1.15 GB, free: 448 kB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001153/0.3757, allocations: 60.36 kB / 1.151 GB, free: 388 kB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.085e-05/0.3758, allocations: 24 kB / 1.151 GB, free: 364 kB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0007466/0.3765, allocations: 0.6992 MB / 1.151 GB, free: 15.64 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3766, allocations: 0 / 1.151 GB, free: 15.64 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.001049/0.3776, allocations: 388.1 kB / 1.152 GB, free: 15.27 MB / 0.92 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 (76): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 4 systems {(2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001939/0.3796, allocations: 2.041 MB / 1.154 GB, free: 13.16 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.001908/0.3815, allocations: 1.709 MB / 1.155 GB, free: 11.36 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.3815, allocations: 1.812 kB / 1.155 GB, free: 11.36 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0008473/0.3823, allocations: 0.8664 MB / 1.156 GB, free: 10.41 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001228/0.3836, allocations: 248.9 kB / 1.156 GB, free: 10.16 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0163/0.3999, allocations: 14.3 MB / 1.17 GB, free: 11.01 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001498/0.4014, allocations: 1.916 MB / 1.172 GB, free: 9.062 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.001041/0.4025, allocations: 453.3 kB / 1.173 GB, free: 8.621 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007956/0.4033, allocations: 0.7141 MB / 1.173 GB, free: 7.906 MB / 0.9356 GB Notification: Performance of SimCode: time 5.11e-07/0.4033, allocations: 0 / 1.173 GB, free: 7.906 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04168/0.445, allocations: 26.73 MB / 1.199 GB, free: 13.51 MB / 0.9669 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002255/0.4452, allocations: 249.7 kB / 1.2 GB, free: 13.26 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.055/2.5, allocations: 0 / 1.2 GB, free: 13.26 MB / 0.9669 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches