Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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.ThreePhasesBalanced.Loads.Examples.Impedances,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_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.001536/0.001536, allocations: 108 kB / 15.61 MB, free: 152 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.001909/0.001909, allocations: 192.7 kB / 16.53 MB, free: 6.664 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.345/1.345, 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 9.1.3-maint.9.1.x/package.mo): time 2.258/2.258, allocations: 390.2 MB / 0.6647 GB, free: 460 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001248/0.001248, allocations: 59.91 kB / 0.8127 GB, free: 14.38 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5518/0.5531, allocations: 140.4 MB / 0.9497 GB, free: 9.078 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances): time 0.004853/0.5579, allocations: 4.879 MB / 0.9545 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003018/0.561, allocations: 2.491 MB / 0.9569 GB, free: 3.277 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002649/0.5613, allocations: 24.44 kB / 0.957 GB, free: 3.266 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0009245/0.5622, allocations: 410.7 kB / 0.9573 GB, free: 2.945 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0007183/0.563, allocations: 448.1 kB / 0.9578 GB, free: 2.594 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006693/0.5636, allocations: 401.7 kB / 0.9582 GB, free: 2.289 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0008308/0.5645, allocations: 0.9193 MB / 0.9591 GB, free: 1.758 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005086/0.565, allocations: 356.8 kB / 0.9594 GB, free: 1.562 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004252/0.5654, allocations: 335.5 kB / 0.9597 GB, free: 1.383 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004434/0.5659, allocations: 353.3 kB / 0.96 GB, free: 1.164 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 8.163e-05/0.566, allocations: 38.66 kB / 0.9601 GB, free: 1.164 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007353/0.5667, allocations: 403.8 kB / 0.9605 GB, free: 0.9727 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001831/0.5669, allocations: 187.6 kB / 0.9606 GB, free: 0.8477 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0002677/0.5672, allocations: 318.9 kB / 0.961 GB, free: 0.6406 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0007709/0.568, allocations: 0.8735 MB / 0.9618 GB, free: 60 kB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.227e-06/0.568, allocations: 0 / 0.9618 GB, free: 60 kB / 0.7169 GB Notification: Performance of FrontEnd: time 1.332e-06/0.568, allocations: 0 / 0.9618 GB, free: 60 kB / 0.7169 GB Notification: Performance of Transformations before backend: time 9.328e-06/0.568, allocations: 1.062 kB / 0.9618 GB, free: 60 kB / 0.7169 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.001408/0.5694, allocations: 0.9471 MB / 0.9627 GB, free: 15.28 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.233e-05/0.5695, allocations: 10.03 kB / 0.9627 GB, free: 15.28 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001082/0.5696, allocations: 96.97 kB / 0.9628 GB, free: 15.2 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00125/0.5708, allocations: 216.9 kB / 0.963 GB, free: 15.09 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006375/0.5715, allocations: 0.494 MB / 0.9635 GB, free: 14.66 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.693e-05/0.5715, allocations: 31.06 kB / 0.9636 GB, free: 14.65 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.12e-05/0.5716, allocations: 48.59 kB / 0.9636 GB, free: 14.63 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009856/0.5726, allocations: 0.8486 MB / 0.9644 GB, free: 13.93 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.319e-05/0.5726, allocations: 7.156 kB / 0.9644 GB, free: 13.93 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.89e-05/0.5727, allocations: 23.95 kB / 0.9645 GB, free: 13.91 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.922e-05/0.5728, allocations: 66.83 kB / 0.9645 GB, free: 13.89 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008248/0.5736, allocations: 0.5673 MB / 0.9651 GB, free: 13.61 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004308/0.5779, allocations: 5.652 MB / 0.9706 GB, free: 8.164 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006208/0.5786, allocations: 456.4 kB / 0.971 GB, free: 7.934 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002992/0.5789, allocations: 228.1 kB / 0.9712 GB, free: 7.816 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.448e-05/0.5789, allocations: 3.781 kB / 0.9713 GB, free: 7.816 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.372e-05/0.5789, allocations: 35.91 kB / 0.9713 GB, free: 7.773 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=32): time 1.934e-06/0.5789, allocations: 0 / 0.9713 GB, free: 7.773 MB / 0.7325 GB Notification: Performance of matching and sorting (n=33): time 0.002416/0.5814, allocations: 1.505 MB / 0.9728 GB, free: 6.672 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.645e-05/0.5814, allocations: 64.16 kB / 0.9728 GB, free: 6.602 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004819/0.5819, allocations: 0.5051 MB / 0.9733 GB, free: 6.285 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.68e-05/0.5819, allocations: 34.95 kB / 0.9733 GB, free: 6.246 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002021/0.5821, allocations: 355.6 kB / 0.9737 GB, free: 5.926 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 8.281e-05/0.5822, allocations: 115.2 kB / 0.9738 GB, free: 5.828 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001403/0.5824, allocations: 110.9 kB / 0.9739 GB, free: 5.758 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001161/0.5825, allocations: 367.9 kB / 0.9742 GB, free: 5.402 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002807/0.5828, allocations: 190.7 kB / 0.9744 GB, free: 5.316 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004027/0.5832, allocations: 448.6 kB / 0.9749 GB, free: 4.883 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007371/0.5839, allocations: 0.6934 MB / 0.9755 GB, free: 4.305 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.067e-06/0.584, allocations: 2.656 kB / 0.9755 GB, free: 4.305 MB / 0.7325 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001221/0.5852, allocations: 0.8109 MB / 0.9763 GB, free: 3.852 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.778e-05/0.5852, allocations: 8.906 kB / 0.9763 GB, free: 3.852 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.149e-05/0.5852, allocations: 8.719 kB / 0.9763 GB, free: 3.852 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000468/0.5857, allocations: 162.9 kB / 0.9765 GB, free: 3.746 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004278/0.5861, allocations: 122.4 kB / 0.9766 GB, free: 3.715 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00306/0.5892, allocations: 4.339 MB / 0.9809 GB, free: 15.3 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003901/0.5896, allocations: 38.12 kB / 0.9809 GB, free: 15.29 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.671e-05/0.5897, allocations: 26.88 kB / 0.9809 GB, free: 15.28 MB / 0.7481 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.0002424/0.5899, allocations: 218.3 kB / 0.9811 GB, free: 15.1 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.836e-05/0.59, allocations: 66.67 kB / 0.9812 GB, free: 15.06 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009666/0.591, allocations: 0.5941 MB / 0.9818 GB, free: 14.69 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/0.591, allocations: 3.969 kB / 0.9818 GB, free: 14.69 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.576e-06/0.591, allocations: 1.375 kB / 0.9818 GB, free: 14.69 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/0.591, allocations: 0 / 0.9818 GB, free: 14.69 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001636/0.5926, allocations: 1.267 MB / 0.983 GB, free: 13.76 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/0.5927, allocations: 1.406 kB / 0.983 GB, free: 13.76 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002523/0.5929, allocations: 55.42 kB / 0.9831 GB, free: 13.75 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003898/0.5933, allocations: 143.7 kB / 0.9832 GB, free: 13.65 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.595e-05/0.5934, allocations: 15.92 kB / 0.9832 GB, free: 13.64 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002849/0.5962, allocations: 4.328 MB / 0.9874 GB, free: 9.137 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.703e-06/0.5962, allocations: 7.969 kB / 0.9875 GB, free: 9.129 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009159/0.5972, allocations: 0.712 MB / 0.9881 GB, free: 8.363 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001983/0.5974, allocations: 172.2 kB / 0.9883 GB, free: 8.176 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.745e-05/0.5974, allocations: 8 kB / 0.9883 GB, free: 8.168 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002568/0.5977, allocations: 19.97 kB / 0.9883 GB, free: 8.148 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.249e-05/0.5978, allocations: 43.83 kB / 0.9884 GB, free: 8.105 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.852e-05/0.5978, allocations: 12 kB / 0.9884 GB, free: 8.094 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0003242/0.5981, allocations: 334.8 kB / 0.9887 GB, free: 7.77 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5981, allocations: 0 / 0.9887 GB, free: 7.77 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0006437/0.5988, allocations: 140 kB / 0.9888 GB, free: 7.633 MB / 0.7481 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.001145/0.5999, allocations: 1.264 MB / 0.9901 GB, free: 6.305 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001374/0.6013, allocations: 1.076 MB / 0.9911 GB, free: 5.148 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.6013, allocations: 0 / 0.9911 GB, free: 5.148 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0007668/0.6021, allocations: 0.7343 MB / 0.9918 GB, free: 4.332 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009872/0.6031, allocations: 212.1 kB / 0.9921 GB, free: 4.133 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006127/0.6092, allocations: 5.258 MB / 0.9972 GB, free: 14.49 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005086/0.6098, allocations: 0.9135 MB / 0.9981 GB, free: 13.55 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0004345/0.6102, allocations: 121.3 kB / 0.9982 GB, free: 13.43 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002676/0.6105, allocations: 195.4 kB / 0.9984 GB, free: 13.24 MB / 0.7637 GB Notification: Performance of SimCode: time 8.21e-07/0.6105, allocations: 0 / 0.9984 GB, free: 13.24 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05835/0.6689, allocations: 12.69 MB / 1.011 GB, free: 0.8242 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.138/9.807, allocations: 7.609 kB / 1.011 GB, free: 0.8164 MB / 0.7637 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches