Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.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.001623/0.001623, allocations: 101.3 kB / 19.73 MB, free: 2.133 MB / 14.72 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.001815/0.001815, allocations: 223 kB / 23.03 MB, free: 4.945 MB / 14.72 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 1.453/1.453, allocations: 230.6 MB / 256.8 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] 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 3.259/3.259, allocations: 0.5003 GB / 0.8062 GB, free: 28.25 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/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.ThreePhasesBalanced.Loads.Examples.Impedances,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001922/0.001922, allocations: 60.58 kB / 1.17 GB, free: 19.61 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3287/0.3306, allocations: 179 MB / 1.345 GB, free: 15.96 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances): time 0.007027/0.3376, allocations: 4.654 MB / 1.35 GB, free: 11.27 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.004306/0.3419, allocations: 2.444 MB / 1.352 GB, free: 8.82 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000449/0.3424, allocations: 39.56 kB / 1.352 GB, free: 8.781 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.00132/0.3437, allocations: 396.4 kB / 1.353 GB, free: 8.395 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.001236/0.3449, allocations: 469.6 kB / 1.353 GB, free: 7.934 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009908/0.3459, allocations: 405 kB / 1.353 GB, free: 7.539 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.001283/0.3472, allocations: 0.9216 MB / 1.354 GB, free: 6.613 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007217/0.3479, allocations: 326.6 kB / 1.355 GB, free: 6.293 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007825/0.3487, allocations: 366.6 kB / 1.355 GB, free: 5.934 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007421/0.3495, allocations: 366.5 kB / 1.355 GB, free: 5.574 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0001271/0.3496, allocations: 36 kB / 1.355 GB, free: 5.539 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000829/0.3504, allocations: 367.1 kB / 1.356 GB, free: 5.18 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0002659/0.3507, allocations: 187.3 kB / 1.356 GB, free: 4.996 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0003926/0.3511, allocations: 258.7 kB / 1.356 GB, free: 4.742 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.001324/0.3524, allocations: 0.8987 MB / 1.357 GB, free: 3.84 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.3524, allocations: 0 / 1.357 GB, free: 3.84 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.923e-06/0.3524, allocations: 0 / 1.357 GB, free: 3.84 MB / 1.045 GB Notification: Performance of Transformations before backend: time 3.201e-05/0.3524, allocations: 4 kB / 1.357 GB, free: 3.836 MB / 1.045 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.00175/0.3542, allocations: 0.9012 MB / 1.358 GB, free: 2.898 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/0.3542, allocations: 8.031 kB / 1.358 GB, free: 2.891 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.453e-05/0.3543, allocations: 17.19 kB / 1.358 GB, free: 2.875 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001111/0.3544, allocations: 94.69 kB / 1.358 GB, free: 2.773 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001359/0.3557, allocations: 212.1 kB / 1.358 GB, free: 2.566 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009637/0.3567, allocations: 492.8 kB / 1.359 GB, free: 2.059 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.473e-05/0.3567, allocations: 29.38 kB / 1.359 GB, free: 2.031 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.568e-05/0.3568, allocations: 44.36 kB / 1.359 GB, free: 1.988 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001307/0.3581, allocations: 0.9813 MB / 1.36 GB, free: 0.8477 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.516e-05/0.3582, allocations: 11.94 kB / 1.36 GB, free: 0.8359 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.135e-05/0.3582, allocations: 23.98 kB / 1.36 GB, free: 0.8125 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001042/0.3583, allocations: 64.95 kB / 1.36 GB, free: 0.75 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009618/0.3593, allocations: 0.5617 MB / 1.36 GB, free: 192 kB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004911/0.3642, allocations: 4.724 MB / 1.365 GB, free: 11.27 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006689/0.3649, allocations: 422.2 kB / 1.365 GB, free: 10.84 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000302/0.3652, allocations: 204.7 kB / 1.366 GB, free: 10.64 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.735e-05/0.3652, allocations: 4 kB / 1.366 GB, free: 10.64 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.156e-05/0.3652, allocations: 34.56 kB / 1.366 GB, free: 10.59 MB / 1.061 GB Notification: Performance of pre-optimization done (n=32): time 1.773e-06/0.3652, allocations: 0 / 1.366 GB, free: 10.59 MB / 1.061 GB Notification: Performance of matching and sorting (n=33): time 0.002592/0.3678, allocations: 1.137 MB / 1.367 GB, free: 9.434 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.991e-05/0.3679, allocations: 55.69 kB / 1.367 GB, free: 9.367 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005644/0.3684, allocations: 0.503 MB / 1.367 GB, free: 8.852 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.985e-05/0.3685, allocations: 29.7 kB / 1.367 GB, free: 8.816 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002863/0.3688, allocations: 371.7 kB / 1.368 GB, free: 8.449 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001068/0.3689, allocations: 123 kB / 1.368 GB, free: 8.328 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001665/0.369, allocations: 110.2 kB / 1.368 GB, free: 8.215 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001756/0.3692, allocations: 366.8 kB / 1.368 GB, free: 7.848 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002973/0.3695, allocations: 197.2 kB / 1.368 GB, free: 7.656 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005008/0.37, allocations: 455 kB / 1.369 GB, free: 7.094 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008834/0.3709, allocations: 0.6876 MB / 1.37 GB, free: 6.289 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.001e-05/0.3709, allocations: 7.984 kB / 1.37 GB, free: 6.281 MB / 1.061 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001333/0.3722, allocations: 0.8056 MB / 1.37 GB, free: 5.453 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.2e-05/0.3723, allocations: 12 kB / 1.37 GB, free: 5.441 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.516e-05/0.3723, allocations: 11.94 kB / 1.37 GB, free: 5.43 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005293/0.3728, allocations: 148.6 kB / 1.371 GB, free: 5.27 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004561/0.3733, allocations: 127.8 kB / 1.371 GB, free: 5.145 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003563/0.3768, allocations: 4.042 MB / 1.375 GB, free: 0.7578 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004278/0.3772, allocations: 35.97 kB / 1.375 GB, free: 0.7227 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.202e-05/0.3773, allocations: 28 kB / 1.375 GB, free: 0.6953 MB / 1.061 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.00028/0.3776, allocations: 211.4 kB / 1.375 GB, free: 492 kB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.34e-05/0.3777, allocations: 63.62 kB / 1.375 GB, free: 428 kB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001042/0.3787, allocations: 0.5972 MB / 1.375 GB, free: 15.8 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.881e-06/0.3787, allocations: 4 kB / 1.375 GB, free: 15.79 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.3787, allocations: 7.938 kB / 1.375 GB, free: 15.79 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/0.3787, allocations: 3.984 kB / 1.375 GB, free: 15.78 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001792/0.3805, allocations: 1.18 MB / 1.377 GB, free: 14.52 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.36e-06/0.3805, allocations: 4 kB / 1.377 GB, free: 14.52 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002509/0.3808, allocations: 55.89 kB / 1.377 GB, free: 14.46 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004196/0.3812, allocations: 148.1 kB / 1.377 GB, free: 14.3 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.538e-05/0.3812, allocations: 4 kB / 1.377 GB, free: 14.3 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003321/0.3845, allocations: 4.03 MB / 1.381 GB, free: 9.922 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.021e-06/0.3845, allocations: 4 kB / 1.381 GB, free: 9.918 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001101/0.3856, allocations: 0.7001 MB / 1.381 GB, free: 9.164 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002233/0.3859, allocations: 99.47 kB / 1.382 GB, free: 9.066 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.747e-05/0.3859, allocations: 8 kB / 1.382 GB, free: 9.059 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002579/0.3862, allocations: 27.97 kB / 1.382 GB, free: 9.031 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.13e-05/0.3863, allocations: 35.83 kB / 1.382 GB, free: 8.996 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.391e-05/0.3863, allocations: 12 kB / 1.382 GB, free: 8.984 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0004036/0.3867, allocations: 342.9 kB / 1.382 GB, free: 8.652 MB / 1.076 GB Notification: Performance of sort global known variables: time 9e-08/0.3867, allocations: 0 / 1.382 GB, free: 8.652 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.000649/0.3873, allocations: 140 kB / 1.382 GB, free: 8.516 MB / 1.076 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.001354/0.3887, allocations: 1.26 MB / 1.383 GB, free: 7.191 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001354/0.3901, allocations: 0.8588 MB / 1.384 GB, free: 6.289 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.3901, allocations: 0 / 1.384 GB, free: 6.289 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0007928/0.3908, allocations: 0.5795 MB / 1.385 GB, free: 5.664 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009599/0.3918, allocations: 221.2 kB / 1.385 GB, free: 5.457 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006401/0.3982, allocations: 5.16 MB / 1.39 GB, free: 15.91 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003213/0.3985, allocations: 316 kB / 1.39 GB, free: 15.58 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0003268/0.3989, allocations: 117.3 kB / 1.39 GB, free: 15.46 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002612/0.3991, allocations: 191.4 kB / 1.391 GB, free: 15.27 MB / 1.092 GB Notification: Performance of SimCode: time 6.71e-07/0.3991, allocations: 0 / 1.391 GB, free: 15.27 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04608/0.4452, allocations: 14.09 MB / 1.404 GB, free: 1.57 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.09/12.54, allocations: 5.875 kB / 1.404 GB, free: 1.566 MB / 1.092 GB " [Timeout remaining time 287] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.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: 19.466694458038546]