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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008197/0.0008197, allocations: 72.44 kB / 19.17 MB, free: 0.7344 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008255/0.0008255, allocations: 165.9 kB / 22.45 MB, free: 2.098 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8818/0.8818, allocations: 177.1 MB / 202.8 MB, free: 5.758 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.72/1.72, allocations: 389 MB / 0.633 GB, free: 12.71 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.884e-06/1.884e-06, allocations: 0 / 0.9997 GB, free: 13.51 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.058e-05/2.246e-05, allocations: 5.234 kB / 0.9997 GB, free: 13.5 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances): time 0.0114/0.01142, allocations: 15.16 MB / 1.014 GB, free: 14.29 MB / 0.9792 GB Notification: Performance of NFInst.instExpressions: time 0.005595/0.01701, allocations: 4.734 MB / 1.019 GB, free: 9.539 MB / 0.9792 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006753/0.01769, allocations: 87.38 kB / 1.019 GB, free: 9.453 MB / 0.9792 GB Notification: Performance of NFTyping.typeComponents: time 0.001403/0.01909, allocations: 1.06 MB / 1.02 GB, free: 8.391 MB / 0.9792 GB Notification: Performance of NFTyping.typeBindings: time 0.00126/0.02035, allocations: 0.7963 MB / 1.021 GB, free: 7.59 MB / 0.9792 GB Notification: Performance of NFTyping.typeClassSections: time 0.001354/0.0217, allocations: 0.9456 MB / 1.022 GB, free: 6.645 MB / 0.9792 GB Notification: Performance of NFFlatten.flatten: time 0.002526/0.02423, allocations: 3.672 MB / 1.025 GB, free: 2.965 MB / 0.9792 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002027/0.02626, allocations: 2.438 MB / 1.028 GB, free: 464 kB / 0.9792 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001746/0.028, allocations: 2.277 MB / 1.03 GB, free: 14.17 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001484/0.02949, allocations: 1.683 MB / 1.032 GB, free: 12.48 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.0002892/0.02978, allocations: 340 kB / 1.032 GB, free: 12.15 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008299/0.03061, allocations: 0.7526 MB / 1.033 GB, free: 11.4 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.000722/0.03133, allocations: 1.426 MB / 1.034 GB, free: 9.969 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0007147/0.03204, allocations: 1.018 MB / 1.035 GB, free: 8.949 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.002877/0.03492, allocations: 5.24 MB / 1.04 GB, free: 3.695 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.03493, allocations: 0 / 1.04 GB, free: 3.695 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.482e-06/0.03493, allocations: 0 / 1.04 GB, free: 3.695 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 3.96e-05/0.03497, allocations: 4 kB / 1.04 GB, free: 3.691 MB / 0.9948 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.002668/0.03763, allocations: 2.618 MB / 1.043 GB, free: 1.027 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.994e-05/0.03767, allocations: 8.75 kB / 1.043 GB, free: 1.02 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000308/0.03798, allocations: 374.5 kB / 1.043 GB, free: 0.6445 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.398/0.436, allocations: 0.8473 MB / 1.044 GB, free: 80.61 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002119/0.4381, allocations: 1.529 MB / 1.046 GB, free: 80.41 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.155e-05/0.4382, allocations: 178.9 kB / 1.046 GB, free: 80.4 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003425/0.4385, allocations: 237.2 kB / 1.046 GB, free: 80.39 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003675/0.4422, allocations: 4.252 MB / 1.05 GB, free: 78.67 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.641e-05/0.4422, allocations: 6.75 kB / 1.05 GB, free: 78.66 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001574/0.4424, allocations: 105.3 kB / 1.05 GB, free: 78.59 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001002/0.4425, allocations: 167.7 kB / 1.05 GB, free: 78.57 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002866/0.4454, allocations: 3.631 MB / 1.054 GB, free: 77.39 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007144/0.4525, allocations: 11.02 MB / 1.065 GB, free: 70.96 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001466/0.454, allocations: 1.466 MB / 1.066 GB, free: 70.52 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000451/0.4544, allocations: 0.5449 MB / 1.067 GB, free: 70.33 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 6.407e-05/0.4545, allocations: 18.09 kB / 1.067 GB, free: 70.32 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.654e-05/0.4545, allocations: 48.55 kB / 1.067 GB, free: 70.28 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=72): time 2.224e-06/0.4545, allocations: 0 / 1.067 GB, free: 70.28 MB / 0.9948 GB Notification: Performance of matching and sorting (n=76): time 0.002674/0.4572, allocations: 3.206 MB / 1.07 GB, free: 68.73 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.897e-05/0.4572, allocations: 113.9 kB / 1.07 GB, free: 68.61 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006772/0.4579, allocations: 1.057 MB / 1.071 GB, free: 68.16 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 2.877e-05/0.4579, allocations: 36.33 kB / 1.071 GB, free: 68.12 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002895/0.4582, allocations: 1.137 MB / 1.072 GB, free: 67.24 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 9.43e-05/0.4583, allocations: 282.9 kB / 1.072 GB, free: 67.02 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002127/0.4585, allocations: 281.2 kB / 1.073 GB, free: 66.89 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 8.106e-05/0.4586, allocations: 409.6 kB / 1.073 GB, free: 66.54 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000502/0.4591, allocations: 0.6177 MB / 1.074 GB, free: 66.34 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006535/0.4598, allocations: 1.188 MB / 1.075 GB, free: 65.4 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001663/0.4614, allocations: 1.858 MB / 1.077 GB, free: 64.14 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.017e-06/0.4614, allocations: 5.156 kB / 1.077 GB, free: 64.14 MB / 0.9948 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.001921/0.4633, allocations: 2.022 MB / 1.079 GB, free: 63.35 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 2.566e-05/0.4634, allocations: 12.91 kB / 1.079 GB, free: 63.35 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.747e-05/0.4634, allocations: 19.34 kB / 1.079 GB, free: 63.35 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002674/0.4637, allocations: 166.8 kB / 1.079 GB, free: 63.29 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006343/0.4643, allocations: 343.5 kB / 1.079 GB, free: 63.25 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.011e-05/0.4643, allocations: 41.84 kB / 1.079 GB, free: 63.24 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005071/0.4648, allocations: 133 kB / 1.079 GB, free: 63.21 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.439e-05/0.4649, allocations: 70.73 kB / 1.079 GB, free: 63.2 MB / 0.9948 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.0008235/0.4657, allocations: 0.9788 MB / 1.08 GB, free: 62.74 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001088/0.4658, allocations: 112.9 kB / 1.08 GB, free: 62.68 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001213/0.467, allocations: 1.228 MB / 1.082 GB, free: 62.18 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.768e-06/0.4671, allocations: 12.03 kB / 1.082 GB, free: 62.18 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.213e-06/0.4671, allocations: 2.125 kB / 1.082 GB, free: 62.18 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.472e-06/0.4671, allocations: 4.25 kB / 1.082 GB, free: 62.18 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003195/0.4703, allocations: 3.453 MB / 1.085 GB, free: 60.76 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.508e-06/0.4703, allocations: 2.344 kB / 1.085 GB, free: 60.76 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003043/0.4706, allocations: 159 kB / 1.085 GB, free: 60.75 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001793/0.4708, allocations: 137.3 kB / 1.085 GB, free: 60.69 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.996e-05/0.4708, allocations: 18.09 kB / 1.085 GB, free: 60.68 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.283e-06/0.4708, allocations: 8.5 kB / 1.085 GB, free: 60.68 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/0.4708, allocations: 6.984 kB / 1.085 GB, free: 60.68 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00108/0.4719, allocations: 1.472 MB / 1.087 GB, free: 59.88 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002309/0.4721, allocations: 196.2 kB / 1.087 GB, free: 59.78 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.44e-05/0.4722, allocations: 19.22 kB / 1.087 GB, free: 59.77 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002924/0.4725, allocations: 61.67 kB / 1.087 GB, free: 59.76 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.825e-05/0.4726, allocations: 61.83 kB / 1.087 GB, free: 59.75 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.013e-05/0.4726, allocations: 21.69 kB / 1.087 GB, free: 59.74 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0005905/0.4732, allocations: 0.6958 MB / 1.088 GB, free: 59.46 MB / 0.9948 GB Notification: Performance of sort global known variables: time 6e-08/0.4732, allocations: 4 kB / 1.088 GB, free: 59.45 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0008431/0.474, allocations: 388.3 kB / 1.088 GB, free: 59.42 MB / 0.9948 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.001365/0.4754, allocations: 2.035 MB / 1.09 GB, free: 58.08 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.001419/0.4768, allocations: 1.36 MB / 1.091 GB, free: 57.62 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.4768, allocations: 0 / 1.091 GB, free: 57.62 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0005252/0.4773, allocations: 0.5415 MB / 1.092 GB, free: 57.42 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008851/0.4782, allocations: 267.3 kB / 1.092 GB, free: 57.34 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01268/0.4909, allocations: 12.89 MB / 1.105 GB, free: 50.54 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001502/0.4924, allocations: 1.338 MB / 1.106 GB, free: 50.13 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.000781/0.4932, allocations: 455.7 kB / 1.107 GB, free: 50.07 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005672/0.4938, allocations: 0.7105 MB / 1.107 GB, free: 49.49 MB / 0.9948 GB Notification: Performance of SimCode: time 8.51e-07/0.4938, allocations: 1.156 kB / 1.107 GB, free: 49.49 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04332/0.5371, allocations: 29.23 MB / 1.136 GB, free: 42.14 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.209/7.746, allocations: 9 kB / 1.136 GB, free: 42.14 MB / 0.9948 GB " [Timeout remaining time 292] (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 --stepSize=0.0004 --timeout=800 --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) [Timeout 840.0] 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.83122078422457]