Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.00132/0.00132, allocations: 114.5 kB / 18.94 MB, free: 2.934 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.001535/0.001535, allocations: 213 kB / 22.25 MB, free: 5.086 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.451/1.451, allocations: 230.6 MB / 256 MB, free: 8 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.164/3.164, allocations: 0.49 GB / 0.7951 GB, free: 33.43 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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.ThreePhasesBalanced.Loads.Examples.Impedances,fileNamePrefix="Buildings_12_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances,fileNamePrefix="Buildings_12_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances",fmuType="me",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.001996/0.001996, allocations: 78.61 kB / 1.154 GB, free: 25.68 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3192/0.3212, allocations: 176.1 MB / 1.326 GB, free: 1.945 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances): time 0.007577/0.3288, allocations: 5.064 MB / 1.331 GB, free: 12.86 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.004692/0.3335, allocations: 2.6 MB / 1.333 GB, free: 10.25 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005825/0.3341, allocations: 35.62 kB / 1.333 GB, free: 10.22 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.00145/0.3355, allocations: 417.9 kB / 1.334 GB, free: 9.809 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.00134/0.3369, allocations: 469.6 kB / 1.334 GB, free: 9.348 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001004/0.3379, allocations: 410.9 kB / 1.335 GB, free: 8.949 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.001127/0.339, allocations: 0.9256 MB / 1.336 GB, free: 8.02 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004925/0.3395, allocations: 322.6 kB / 1.336 GB, free: 7.695 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004758/0.34, allocations: 354.7 kB / 1.336 GB, free: 7.348 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000512/0.3405, allocations: 374.3 kB / 1.337 GB, free: 6.98 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 6.108e-05/0.3405, allocations: 40 kB / 1.337 GB, free: 6.941 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006831/0.3412, allocations: 411.1 kB / 1.337 GB, free: 6.539 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001855/0.3414, allocations: 179.3 kB / 1.337 GB, free: 6.363 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002939/0.3417, allocations: 330.2 kB / 1.337 GB, free: 6.039 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001013/0.3427, allocations: 0.8871 MB / 1.338 GB, free: 5.148 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.3427, allocations: 3.984 kB / 1.338 GB, free: 5.145 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.283e-06/0.3427, allocations: 0 / 1.338 GB, free: 5.145 MB / 1.029 GB Notification: Performance of Transformations before backend: time 8.616e-06/0.3427, allocations: 0 / 1.338 GB, free: 5.145 MB / 1.029 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.001423/0.3441, allocations: 0.9012 MB / 1.339 GB, free: 4.207 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.652e-05/0.3442, allocations: 8.031 kB / 1.339 GB, free: 4.199 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001109/0.3443, allocations: 94.69 kB / 1.339 GB, free: 4.098 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001182/0.3455, allocations: 204.2 kB / 1.34 GB, free: 3.898 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008681/0.3463, allocations: 496.7 kB / 1.34 GB, free: 3.395 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.888e-05/0.3464, allocations: 33.38 kB / 1.34 GB, free: 3.363 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.728e-05/0.3464, allocations: 44.36 kB / 1.34 GB, free: 3.32 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00113/0.3476, allocations: 0.8522 MB / 1.341 GB, free: 2.332 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.19e-05/0.3476, allocations: 15.89 kB / 1.341 GB, free: 2.316 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.333e-05/0.3477, allocations: 23.98 kB / 1.341 GB, free: 2.293 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.081e-05/0.3477, allocations: 60.95 kB / 1.341 GB, free: 2.234 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008503/0.3486, allocations: 0.5695 MB / 1.342 GB, free: 1.66 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00473/0.3533, allocations: 5.574 MB / 1.347 GB, free: 11.71 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006415/0.354, allocations: 424.2 kB / 1.347 GB, free: 11.29 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003021/0.3543, allocations: 196.7 kB / 1.348 GB, free: 11.09 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.813e-05/0.3543, allocations: 4 kB / 1.348 GB, free: 11.09 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.687e-05/0.3543, allocations: 38.56 kB / 1.348 GB, free: 11.04 MB / 1.045 GB Notification: Performance of pre-optimization done (n=32): time 1.893e-06/0.3543, allocations: 3.938 kB / 1.348 GB, free: 11.04 MB / 1.045 GB Notification: Performance of matching and sorting (n=33): time 0.002445/0.3568, allocations: 1.14 MB / 1.349 GB, free: 9.871 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.465e-05/0.3568, allocations: 59.69 kB / 1.349 GB, free: 9.801 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005505/0.3574, allocations: 0.5068 MB / 1.349 GB, free: 9.285 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 3.03e-05/0.3574, allocations: 29.7 kB / 1.349 GB, free: 9.25 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002752/0.3577, allocations: 375.7 kB / 1.35 GB, free: 8.879 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001029/0.3578, allocations: 123 kB / 1.35 GB, free: 8.758 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001548/0.3579, allocations: 114.2 kB / 1.35 GB, free: 8.641 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.000182/0.3581, allocations: 366.8 kB / 1.35 GB, free: 8.273 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003173/0.3584, allocations: 193.2 kB / 1.35 GB, free: 8.082 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005/0.3589, allocations: 443.3 kB / 1.351 GB, free: 7.535 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000875/0.3598, allocations: 0.6954 MB / 1.352 GB, free: 6.723 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.3598, allocations: 0 / 1.352 GB, free: 6.723 MB / 1.045 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.00131/0.3611, allocations: 0.8099 MB / 1.352 GB, free: 5.891 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.014e-05/0.3611, allocations: 8 kB / 1.352 GB, free: 5.883 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.203e-05/0.3612, allocations: 8 kB / 1.352 GB, free: 5.875 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004835/0.3616, allocations: 156.1 kB / 1.353 GB, free: 5.707 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004365/0.3621, allocations: 123.8 kB / 1.353 GB, free: 5.586 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003572/0.3656, allocations: 4.046 MB / 1.357 GB, free: 1.195 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000343/0.366, allocations: 31.97 kB / 1.357 GB, free: 1.164 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.348e-05/0.366, allocations: 31.98 kB / 1.357 GB, free: 1.133 MB / 1.045 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.0002801/0.3663, allocations: 217.6 kB / 1.357 GB, free: 0.9102 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.295e-05/0.3664, allocations: 67.58 kB / 1.357 GB, free: 0.8438 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001067/0.3675, allocations: 0.5972 MB / 1.357 GB, free: 228 kB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.639e-06/0.3675, allocations: 4 kB / 1.357 GB, free: 224 kB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.3675, allocations: 0 / 1.357 GB, free: 224 kB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.3675, allocations: 0 / 1.357 GB, free: 224 kB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001913/0.3694, allocations: 1.246 MB / 1.359 GB, free: 14.89 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.3694, allocations: 224 / 1.359 GB, free: 14.89 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002507/0.3697, allocations: 63.89 kB / 1.359 GB, free: 14.82 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003997/0.3701, allocations: 140.1 kB / 1.359 GB, free: 14.67 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.927e-05/0.3701, allocations: 15.92 kB / 1.359 GB, free: 14.66 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00338/0.3735, allocations: 4.022 MB / 1.363 GB, free: 10.29 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.027e-06/0.3735, allocations: 4.031 kB / 1.363 GB, free: 10.29 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001046/0.3745, allocations: 0.7079 MB / 1.364 GB, free: 9.523 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002272/0.3747, allocations: 99.47 kB / 1.364 GB, free: 9.426 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.758e-05/0.3748, allocations: 8 kB / 1.364 GB, free: 9.418 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000253/0.3751, allocations: 23.97 kB / 1.364 GB, free: 9.395 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.534e-05/0.3751, allocations: 43.83 kB / 1.364 GB, free: 9.352 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.12e-05/0.3752, allocations: 12 kB / 1.364 GB, free: 9.34 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0003822/0.3755, allocations: 338.8 kB / 1.364 GB, free: 9.012 MB / 1.061 GB Notification: Performance of sort global known variables: time 1e-07/0.3755, allocations: 0 / 1.364 GB, free: 9.012 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0006005/0.3761, allocations: 136 kB / 1.364 GB, free: 8.879 MB / 1.061 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.001362/0.3775, allocations: 1.264 MB / 1.365 GB, free: 7.551 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001433/0.3789, allocations: 0.8587 MB / 1.366 GB, free: 6.648 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.3789, allocations: 0 / 1.366 GB, free: 6.648 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0008207/0.3798, allocations: 0.5799 MB / 1.367 GB, free: 6.023 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009471/0.3807, allocations: 218.6 kB / 1.367 GB, free: 5.82 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006784/0.3875, allocations: 5.165 MB / 1.372 GB, free: 268 kB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006029/0.3881, allocations: 0.9098 MB / 1.373 GB, free: 15.32 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.000344/0.3884, allocations: 117.3 kB / 1.373 GB, free: 15.21 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002837/0.3887, allocations: 191.4 kB / 1.373 GB, free: 15.02 MB / 1.076 GB Notification: Performance of SimCode: time 7.61e-07/0.3887, allocations: 0 / 1.373 GB, free: 15.02 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0526/0.4413, allocations: 13.35 MB / 1.386 GB, free: 1.945 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.86/12.3, allocations: 10.7 kB / 1.386 GB, free: 1.941 MB / 1.076 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances_res.mat --tempDir=temp_Buildings_12_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances.fmu > Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 18.865222003078088]