Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0008379/0.0008379, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.0008768/0.0008768, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.8816/0.8816, allocations: 177.1 MB / 202.8 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.718/1.718, allocations: 377.8 MB / 0.6221 GB, free: 8.633 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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_12_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances,fileNamePrefix="Buildings_12_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.984e-06/1.984e-06, allocations: 3.938 kB / 0.981 GB, free: 2.543 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.774e-05/1.973e-05, allocations: 2.281 kB / 0.981 GB, free: 2.539 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances): time 0.01132/0.01134, allocations: 15.17 MB / 0.9958 GB, free: 3.312 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.00557/0.01691, allocations: 4.727 MB / 1 GB, free: 14.57 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008589/0.01777, allocations: 87.38 kB / 1 GB, free: 14.48 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.001646/0.01941, allocations: 1.059 MB / 1.002 GB, free: 13.42 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.001394/0.02081, allocations: 0.8041 MB / 1.002 GB, free: 12.61 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.001493/0.0223, allocations: 0.9301 MB / 1.003 GB, free: 11.68 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.002677/0.02498, allocations: 3.676 MB / 1.007 GB, free: 7.996 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002522/0.0275, allocations: 2.446 MB / 1.009 GB, free: 5.48 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002342/0.02984, allocations: 2.265 MB / 1.011 GB, free: 3.211 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001638/0.03148, allocations: 1.687 MB / 1.013 GB, free: 1.52 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 0.0003906/0.03187, allocations: 340 kB / 1.013 GB, free: 1.188 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009711/0.03284, allocations: 0.7604 MB / 1.014 GB, free: 436 kB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 0.001172/0.03401, allocations: 1.423 MB / 1.015 GB, free: 15 MB / 0.9792 GB Notification: Performance of NFVerifyModel.verify: time 0.0009088/0.03492, allocations: 1.021 MB / 1.016 GB, free: 13.98 MB / 0.9792 GB Notification: Performance of NFConvertDAE.convert: time 0.003688/0.03861, allocations: 5.244 MB / 1.022 GB, free: 8.719 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.03862, allocations: 0 / 1.022 GB, free: 8.719 MB / 0.9792 GB Notification: Performance of FrontEnd: time 1.964e-06/0.03862, allocations: 0 / 1.022 GB, free: 8.719 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 0.0001081/0.03873, allocations: 0 / 1.022 GB, free: 8.719 MB / 0.9792 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.003802/0.04253, allocations: 2.613 MB / 1.024 GB, free: 6.062 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 4.341e-05/0.04257, allocations: 8.031 kB / 1.024 GB, free: 6.055 MB / 0.9792 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004021/0.04297, allocations: 370.5 kB / 1.025 GB, free: 5.684 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00211/0.04508, allocations: 0.8537 MB / 1.025 GB, free: 4.828 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001912/0.047, allocations: 1.531 MB / 1.027 GB, free: 3.266 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.526e-05/0.04708, allocations: 189 kB / 1.027 GB, free: 3.078 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002873/0.04737, allocations: 228.4 kB / 1.027 GB, free: 2.855 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004841/0.05221, allocations: 4.263 MB / 1.031 GB, free: 14.43 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.024e-05/0.05225, allocations: 8.141 kB / 1.031 GB, free: 14.42 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001842/0.05243, allocations: 108 kB / 1.032 GB, free: 14.32 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000127/0.05256, allocations: 168.5 kB / 1.032 GB, free: 14.15 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004277/0.05684, allocations: 3.621 MB / 1.035 GB, free: 10.51 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3911/0.448, allocations: 11.03 MB / 1.046 GB, free: 96.05 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001717/0.4497, allocations: 1.468 MB / 1.047 GB, free: 95.98 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004884/0.4502, allocations: 0.55 MB / 1.048 GB, free: 95.95 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 8.092e-05/0.4503, allocations: 18.11 kB / 1.048 GB, free: 95.95 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.627e-05/0.4503, allocations: 44.59 kB / 1.048 GB, free: 95.91 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=72): time 3.536e-06/0.4503, allocations: 0 / 1.048 GB, free: 95.91 MB / 0.9948 GB Notification: Performance of matching and sorting (n=76): time 0.003111/0.4534, allocations: 3.195 MB / 1.051 GB, free: 95.06 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.144e-05/0.4534, allocations: 113.4 kB / 1.051 GB, free: 94.93 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007526/0.4542, allocations: 1.057 MB / 1.052 GB, free: 94.51 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 2.972e-05/0.4542, allocations: 36.58 kB / 1.052 GB, free: 94.47 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000297/0.4545, allocations: 1.14 MB / 1.053 GB, free: 93.77 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001/0.4546, allocations: 282.8 kB / 1.054 GB, free: 93.55 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000216/0.4548, allocations: 277.7 kB / 1.054 GB, free: 93.41 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 7.746e-05/0.4549, allocations: 418.5 kB / 1.054 GB, free: 93.06 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005169/0.4554, allocations: 0.6161 MB / 1.055 GB, free: 92.86 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006126/0.456, allocations: 1.188 MB / 1.056 GB, free: 91.94 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001122/0.4572, allocations: 1.869 MB / 1.058 GB, free: 90.73 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.614e-06/0.4572, allocations: 5.906 kB / 1.058 GB, free: 90.73 MB / 0.9948 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.001717/0.4589, allocations: 2.009 MB / 1.06 GB, free: 89.96 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 2.308e-05/0.4589, allocations: 20.39 kB / 1.06 GB, free: 89.96 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.642e-05/0.4589, allocations: 19.59 kB / 1.06 GB, free: 89.96 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002403/0.4592, allocations: 173 kB / 1.06 GB, free: 89.89 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005769/0.4597, allocations: 343 kB / 1.06 GB, free: 89.86 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.88e-05/0.4598, allocations: 37.56 kB / 1.06 GB, free: 89.85 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000538/0.4603, allocations: 126.8 kB / 1.061 GB, free: 89.82 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.714e-05/0.4603, allocations: 67.33 kB / 1.061 GB, free: 89.81 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.0008355/0.4612, allocations: 0.9795 MB / 1.062 GB, free: 89.36 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001153/0.4613, allocations: 113.5 kB / 1.062 GB, free: 89.3 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00107/0.4624, allocations: 1.235 MB / 1.063 GB, free: 88.79 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.051e-06/0.4624, allocations: 12.5 kB / 1.063 GB, free: 88.79 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.4624, allocations: 0 / 1.063 GB, free: 88.79 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/0.4624, allocations: 6.156 kB / 1.063 GB, free: 88.79 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003039/0.4654, allocations: 3.441 MB / 1.066 GB, free: 87.38 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.039e-06/0.4654, allocations: 7.922 kB / 1.066 GB, free: 87.38 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002988/0.4657, allocations: 164 kB / 1.066 GB, free: 87.36 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001703/0.4659, allocations: 142 kB / 1.067 GB, free: 87.29 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.665e-05/0.4659, allocations: 16.62 kB / 1.067 GB, free: 87.28 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.608e-06/0.4659, allocations: 5.25 kB / 1.067 GB, free: 87.28 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.4659, allocations: 2.625 kB / 1.067 GB, free: 87.28 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000988/0.4669, allocations: 1.469 MB / 1.068 GB, free: 86.49 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002649/0.4672, allocations: 196.6 kB / 1.068 GB, free: 86.39 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.091e-05/0.4673, allocations: 24.64 kB / 1.068 GB, free: 86.38 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003007/0.4676, allocations: 64.25 kB / 1.068 GB, free: 86.37 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.312e-05/0.4676, allocations: 65.28 kB / 1.068 GB, free: 86.35 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.399e-05/0.4677, allocations: 21.47 kB / 1.068 GB, free: 86.35 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0005062/0.4682, allocations: 0.6972 MB / 1.069 GB, free: 86.06 MB / 0.9948 GB Notification: Performance of sort global known variables: time 1.9e-07/0.4682, allocations: 0 / 1.069 GB, free: 86.06 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0008867/0.4691, allocations: 386.8 kB / 1.069 GB, free: 86.03 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.001151/0.4702, allocations: 2.041 MB / 1.071 GB, free: 84.69 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.001267/0.4715, allocations: 1.359 MB / 1.073 GB, free: 84.23 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.4715, allocations: 0 / 1.073 GB, free: 84.23 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0004878/0.472, allocations: 0.5329 MB / 1.073 GB, free: 84.04 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009384/0.4729, allocations: 271.9 kB / 1.074 GB, free: 83.96 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01275/0.4856, allocations: 12.89 MB / 1.086 GB, free: 77.16 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001165/0.4868, allocations: 1.333 MB / 1.087 GB, free: 76.75 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.0007788/0.4876, allocations: 454.2 kB / 1.088 GB, free: 76.71 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005037/0.4881, allocations: 0.7109 MB / 1.089 GB, free: 76.13 MB / 0.9948 GB Notification: Performance of SimCode: time 1.042e-06/0.4881, allocations: 0 / 1.089 GB, free: 76.13 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04497/0.5331, allocations: 29.24 MB / 1.117 GB, free: 71.95 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.409/7.942, allocations: 5.094 kB / 1.117 GB, free: 71.94 MB / 0.9948 GB " [Timeout remaining time 292] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances_res.mat --tempDir=temp_Buildings_12_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances.fmu > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 12.016703479923308]