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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001684/0.001684, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001947/0.001947, allocations: 199 kB / 16.54 MB, free: 6.672 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.377/1.377, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.77/2.77, allocations: 461.9 MB / 0.7346 GB, free: 14.76 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001377/0.001377, allocations: 68.12 kB / 0.8992 GB, free: 37.09 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.274/0.2754, allocations: 157.4 MB / 1.053 GB, free: 8.316 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances): time 0.0179/0.2933, allocations: 16.02 MB / 1.069 GB, free: 8.238 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.007844/0.3012, allocations: 4.809 MB / 1.073 GB, free: 3.414 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001306/0.3026, allocations: 71.62 kB / 1.073 GB, free: 3.344 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.002616/0.3052, allocations: 1.045 MB / 1.074 GB, free: 2.297 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.00197/0.3072, allocations: 0.7425 MB / 1.075 GB, free: 1.551 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.002235/0.3095, allocations: 0.9195 MB / 1.076 GB, free: 0.6289 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.004086/0.3136, allocations: 3.618 MB / 1.079 GB, free: 13 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005425/0.319, allocations: 4.793 MB / 1.084 GB, free: 8.141 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002268/0.3213, allocations: 1.578 MB / 1.086 GB, free: 6.559 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002197/0.3235, allocations: 1.776 MB / 1.087 GB, free: 4.777 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0005596/0.3241, allocations: 340 kB / 1.088 GB, free: 4.445 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00147/0.3256, allocations: 0.7997 MB / 1.089 GB, free: 3.645 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.001268/0.3269, allocations: 1.333 MB / 1.09 GB, free: 2.309 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.001738/0.3286, allocations: 1.451 MB / 1.091 GB, free: 0.8516 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.004628/0.3332, allocations: 5.095 MB / 1.096 GB, free: 11.74 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.752e-06/0.3333, allocations: 0 / 1.096 GB, free: 11.74 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.525e-06/0.3333, allocations: 0 / 1.096 GB, free: 11.74 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.541e-05/0.3334, allocations: 0 / 1.096 GB, free: 11.74 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.004646/0.338, allocations: 2.652 MB / 1.099 GB, free: 9.031 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.516e-05/0.3381, allocations: 12.62 kB / 1.099 GB, free: 9.02 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004342/0.3385, allocations: 374.5 kB / 1.099 GB, free: 8.645 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003808/0.3423, allocations: 0.8251 MB / 1.1 GB, free: 7.816 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002215/0.3446, allocations: 1.505 MB / 1.101 GB, free: 6.266 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001202/0.3447, allocations: 185.1 kB / 1.102 GB, free: 6.082 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003538/0.3451, allocations: 228.4 kB / 1.102 GB, free: 5.859 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005776/0.3508, allocations: 4.161 MB / 1.106 GB, free: 1.559 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.739e-05/0.3509, allocations: 3.938 kB / 1.106 GB, free: 1.555 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002464/0.3511, allocations: 99.98 kB / 1.106 GB, free: 1.457 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001672/0.3513, allocations: 168.5 kB / 1.106 GB, free: 1.289 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005086/0.3564, allocations: 3.636 MB / 1.11 GB, free: 13.63 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01535/0.3718, allocations: 16.54 MB / 1.126 GB, free: 11.67 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003116/0.3749, allocations: 2.299 MB / 1.128 GB, free: 9.16 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007798/0.3757, allocations: 0.58 MB / 1.129 GB, free: 8.574 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001242/0.3758, allocations: 97.66 kB / 1.129 GB, free: 8.461 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.493e-05/0.3759, allocations: 39.12 kB / 1.129 GB, free: 8.41 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=72): time 2.886e-06/0.3759, allocations: 0 / 1.129 GB, free: 8.41 MB / 0.8887 GB Notification: Performance of matching and sorting (n=76): time 0.005103/0.381, allocations: 3.432 MB / 1.132 GB, free: 4.879 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.687e-05/0.3811, allocations: 111.5 kB / 1.132 GB, free: 4.746 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001192/0.3823, allocations: 1.014 MB / 1.133 GB, free: 3.707 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 5.08e-05/0.3824, allocations: 41.7 kB / 1.133 GB, free: 3.66 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006334/0.383, allocations: 1.107 MB / 1.134 GB, free: 2.535 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.000193/0.3832, allocations: 276.2 kB / 1.135 GB, free: 2.262 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003694/0.3836, allocations: 279.3 kB / 1.135 GB, free: 1.984 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001735/0.3838, allocations: 422.7 kB / 1.135 GB, free: 1.562 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00087/0.3846, allocations: 0.6089 MB / 1.136 GB, free: 0.9531 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001265/0.3859, allocations: 1.185 MB / 1.137 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002175/0.3881, allocations: 1.864 MB / 1.139 GB, free: 13.37 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.197e-05/0.3881, allocations: 8 kB / 1.139 GB, free: 13.36 MB / 0.9044 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.003289/0.3914, allocations: 2.015 MB / 1.141 GB, free: 11.33 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 3.318e-05/0.3915, allocations: 15.94 kB / 1.141 GB, free: 11.31 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.335e-05/0.3915, allocations: 20 kB / 1.141 GB, free: 11.29 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004108/0.3919, allocations: 159.6 kB / 1.141 GB, free: 11.12 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001088/0.393, allocations: 347.4 kB / 1.141 GB, free: 10.79 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.843e-05/0.3931, allocations: 39.86 kB / 1.141 GB, free: 10.75 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001051/0.3942, allocations: 131.6 kB / 1.142 GB, free: 10.62 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.62e-05/0.3943, allocations: 64 kB / 1.142 GB, free: 10.55 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.00161/0.3959, allocations: 0.9825 MB / 1.143 GB, free: 9.562 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002375/0.3961, allocations: 110.7 kB / 1.143 GB, free: 9.453 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001958/0.3981, allocations: 1.23 MB / 1.144 GB, free: 8.199 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.054e-05/0.3981, allocations: 8 kB / 1.144 GB, free: 8.191 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.898e-06/0.3981, allocations: 4 kB / 1.144 GB, free: 8.188 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.426e-06/0.3981, allocations: 7.984 kB / 1.144 GB, free: 8.18 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004971/0.4031, allocations: 3.803 MB / 1.148 GB, free: 4.223 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.799e-06/0.4031, allocations: 8.25 kB / 1.148 GB, free: 4.215 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000604/0.4038, allocations: 155.8 kB / 1.148 GB, free: 4.062 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003405/0.4041, allocations: 143.3 kB / 1.148 GB, free: 3.91 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.466e-05/0.4042, allocations: 20 kB / 1.148 GB, free: 3.891 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.325e-06/0.4042, allocations: 11.88 kB / 1.148 GB, free: 3.879 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.516e-06/0.4042, allocations: 8.094 kB / 1.148 GB, free: 3.871 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001761/0.4059, allocations: 1.464 MB / 1.149 GB, free: 2.359 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003602/0.4063, allocations: 267.7 kB / 1.15 GB, free: 2.078 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001321/0.4065, allocations: 20 kB / 1.15 GB, free: 2.059 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005758/0.407, allocations: 67.91 kB / 1.15 GB, free: 1.992 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001177/0.4072, allocations: 56.42 kB / 1.15 GB, free: 1.938 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.285e-05/0.4072, allocations: 20 kB / 1.15 GB, free: 1.918 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0007989/0.408, allocations: 0.6992 MB / 1.15 GB, free: 1.207 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.2e-07/0.408, allocations: 0 / 1.15 GB, free: 1.207 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.001252/0.4093, allocations: 388 kB / 1.151 GB, free: 0.8281 MB / 0.9044 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.002056/0.4114, allocations: 2.044 MB / 1.153 GB, free: 14.71 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.002686/0.4141, allocations: 2.012 MB / 1.155 GB, free: 12.62 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.4141, allocations: 0 / 1.155 GB, free: 12.62 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0008766/0.415, allocations: 0.8619 MB / 1.156 GB, free: 11.67 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001393/0.4164, allocations: 276.6 kB / 1.156 GB, free: 11.4 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01707/0.4334, allocations: 13.33 MB / 1.169 GB, free: 13.22 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001624/0.4351, allocations: 1.916 MB / 1.171 GB, free: 11.27 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.001194/0.4363, allocations: 453.6 kB / 1.171 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009398/0.4373, allocations: 0.7141 MB / 1.172 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of SimCode: time 1.172e-06/0.4373, allocations: 0 / 1.172 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.781/3.218, allocations: 27.3 MB / 1.199 GB, free: 15.12 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.16/19.38, allocations: 10.58 kB / 1.199 GB, free: 15.12 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