Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.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.0013/0.0013, allocations: 116.1 kB / 17.16 MB, free: 6.023 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.00155/0.00155, allocations: 205.5 kB / 20.13 MB, free: 3.078 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.521/1.521, allocations: 230.6 MB / 253.5 MB, free: 15.11 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.016/3.016, allocations: 0.49 GB / 0.7923 GB, free: 1.293 MB / 0.6231 GB " [Timeout remaining time 176] 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.OnePhase.Loads.Examples.ThreePhases,fileNamePrefix="Buildings_12_Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases,fileNamePrefix="Buildings_12_Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases",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.001996/0.001996, allocations: 67.91 kB / 1.15 GB, free: 15.39 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9591/0.9611, allocations: 176.1 MB / 1.321 GB, free: 24.74 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases): time 0.004912/0.966, allocations: 4.348 MB / 1.326 GB, free: 21.75 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.003256/0.9693, allocations: 2.436 MB / 1.328 GB, free: 20.09 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002988/0.9696, allocations: 24.91 kB / 1.328 GB, free: 20.08 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.001061/0.9707, allocations: 372.7 kB / 1.328 GB, free: 19.86 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0007942/0.9715, allocations: 386.3 kB / 1.329 GB, free: 19.64 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007106/0.9722, allocations: 323.9 kB / 1.329 GB, free: 19.49 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.000776/0.9729, allocations: 0.68 MB / 1.33 GB, free: 19.17 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003651/0.9733, allocations: 209.6 kB / 1.33 GB, free: 19.09 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004226/0.9737, allocations: 272.8 kB / 1.33 GB, free: 18.97 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004141/0.9741, allocations: 287 kB / 1.331 GB, free: 18.85 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 6.057e-05/0.9742, allocations: 33.41 kB / 1.331 GB, free: 18.84 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008076/0.975, allocations: 440.9 kB / 1.331 GB, free: 18.69 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001728/0.9752, allocations: 148.6 kB / 1.331 GB, free: 18.62 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0002101/0.9754, allocations: 237.5 kB / 1.331 GB, free: 18.48 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.000955/0.9763, allocations: 0.738 MB / 1.332 GB, free: 18.22 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.9764, allocations: 0 / 1.332 GB, free: 18.22 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.422e-06/0.9764, allocations: 0 / 1.332 GB, free: 18.22 MB / 1.061 GB Notification: Performance of Transformations before backend: time 9.097e-06/0.9764, allocations: 1.344 kB / 1.332 GB, free: 18.22 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 99 * Number of variables: 99 Notification: Performance of Generate backend data structure: time 0.001134/0.9775, allocations: 0.8034 MB / 1.333 GB, free: 17.58 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.277e-05/0.9775, allocations: 13.67 kB / 1.333 GB, free: 17.58 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.738e-05/0.9776, allocations: 14.34 kB / 1.333 GB, free: 17.57 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.436e-05/0.9776, allocations: 75 kB / 1.333 GB, free: 17.52 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001392/0.979, allocations: 187.5 kB / 1.333 GB, free: 17.48 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005672/0.9796, allocations: 442 kB / 1.334 GB, free: 17.16 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.882e-05/0.9796, allocations: 30.92 kB / 1.334 GB, free: 17.14 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.383e-05/0.9797, allocations: 34.17 kB / 1.334 GB, free: 17.13 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009132/0.9806, allocations: 0.6529 MB / 1.334 GB, free: 16.7 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.349e-05/0.9806, allocations: 6.344 kB / 1.334 GB, free: 16.7 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.71e-05/0.9807, allocations: 17.7 kB / 1.334 GB, free: 16.69 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001027/0.9808, allocations: 57.8 kB / 1.334 GB, free: 16.68 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008767/0.9817, allocations: 0.4892 MB / 1.335 GB, free: 16.5 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00302/0.9847, allocations: 3.788 MB / 1.339 GB, free: 13.12 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001702/0.9864, allocations: 0.6089 MB / 1.339 GB, free: 12.93 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002285/0.9866, allocations: 165.7 kB / 1.339 GB, free: 12.86 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.711e-05/0.9866, allocations: 7.609 kB / 1.339 GB, free: 12.85 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.796e-05/0.9866, allocations: 40.58 kB / 1.339 GB, free: 12.8 MB / 1.061 GB Notification: Performance of pre-optimization done (n=30): time 1.753e-06/0.9867, allocations: 0 / 1.339 GB, free: 12.8 MB / 1.061 GB Notification: Performance of matching and sorting (n=33): time 0.002131/0.9888, allocations: 1.289 MB / 1.341 GB, free: 12.04 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.285e-05/0.9888, allocations: 112.2 kB / 1.341 GB, free: 11.91 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004017/0.9892, allocations: 399.7 kB / 1.341 GB, free: 11.71 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.26e-05/0.9892, allocations: 31.08 kB / 1.341 GB, free: 11.67 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001281/0.9894, allocations: 288 kB / 1.341 GB, free: 11.43 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 7.654e-05/0.9894, allocations: 124.5 kB / 1.342 GB, free: 11.34 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001409/0.9896, allocations: 97.31 kB / 1.342 GB, free: 11.28 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 7.747e-05/0.9897, allocations: 358.5 kB / 1.342 GB, free: 10.95 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002545/0.9899, allocations: 175 kB / 1.342 GB, free: 10.89 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003244/0.9902, allocations: 377.3 kB / 1.342 GB, free: 10.58 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006016/0.9908, allocations: 0.5881 MB / 1.343 GB, free: 10.14 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.017e-06/0.9908, allocations: 3.062 kB / 1.343 GB, free: 10.14 MB / 1.061 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.0009976/0.9918, allocations: 0.6787 MB / 1.344 GB, free: 9.844 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.891e-05/0.9919, allocations: 8.156 kB / 1.344 GB, free: 9.844 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.232e-05/0.9919, allocations: 15.22 kB / 1.344 GB, free: 9.836 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003477/0.9922, allocations: 95.64 kB / 1.344 GB, free: 9.797 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003858/0.9926, allocations: 117.7 kB / 1.344 GB, free: 9.781 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002411/0.995, allocations: 4.341 MB / 1.348 GB, free: 5.504 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003799/0.9954, allocations: 33.25 kB / 1.348 GB, free: 5.492 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.586e-05/0.9954, allocations: 24.73 kB / 1.348 GB, free: 5.488 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * 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 (60): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 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.0002085/0.9956, allocations: 199.4 kB / 1.348 GB, free: 5.324 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001069/0.9958, allocations: 56.47 kB / 1.348 GB, free: 5.293 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008837/0.9966, allocations: 0.5124 MB / 1.349 GB, free: 5.062 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.881e-06/0.9966, allocations: 4.312 kB / 1.349 GB, free: 5.062 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.9966, allocations: 2.938 kB / 1.349 GB, free: 5.062 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.622e-06/0.9967, allocations: 1.922 kB / 1.349 GB, free: 5.062 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001662/0.9983, allocations: 1.284 MB / 1.35 GB, free: 4.242 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.478e-06/0.9983, allocations: 6.5 kB / 1.35 GB, free: 4.238 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002383/0.9986, allocations: 65.48 kB / 1.35 GB, free: 4.23 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002567/0.9988, allocations: 92.28 kB / 1.35 GB, free: 4.188 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.451e-05/0.9988, allocations: 9.406 kB / 1.35 GB, free: 4.184 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002432/1.001, allocations: 4.336 MB / 1.355 GB, free: 15.91 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.167e-06/1.001, allocations: 7.562 kB / 1.355 GB, free: 15.91 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001015/1.002, allocations: 0.7836 MB / 1.355 GB, free: 15.36 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002167/1.003, allocations: 153 kB / 1.356 GB, free: 15.23 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.498e-05/1.003, allocations: 10.09 kB / 1.356 GB, free: 15.22 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003133/1.003, allocations: 21.89 kB / 1.356 GB, free: 15.22 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.348e-05/1.003, allocations: 34.14 kB / 1.356 GB, free: 15.21 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.637e-05/1.003, allocations: 15.2 kB / 1.356 GB, free: 15.2 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0003554/1.003, allocations: 281.2 kB / 1.356 GB, free: 15.07 MB / 1.076 GB Notification: Performance of sort global known variables: time 9e-08/1.003, allocations: 0 / 1.356 GB, free: 15.07 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0007539/1.004, allocations: 124.4 kB / 1.356 GB, free: 15.05 MB / 1.076 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (33): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 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.001422/1.006, allocations: 1.329 MB / 1.357 GB, free: 13.97 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001404/1.007, allocations: 0.7897 MB / 1.358 GB, free: 13.48 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/1.007, allocations: 0 / 1.358 GB, free: 13.48 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0008473/1.008, allocations: 0.5331 MB / 1.359 GB, free: 13.09 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009337/1.009, allocations: 139.2 kB / 1.359 GB, free: 13.04 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006185/1.015, allocations: 4.567 MB / 1.363 GB, free: 9.949 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005952/1.015, allocations: 0.8612 MB / 1.364 GB, free: 9.238 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0003618/1.016, allocations: 100.3 kB / 1.364 GB, free: 9.227 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002426/1.016, allocations: 153.7 kB / 1.364 GB, free: 9.117 MB / 1.076 GB Notification: Performance of SimCode: time 8.21e-07/1.016, allocations: 5.125 kB / 1.364 GB, free: 9.113 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06245/1.079, allocations: 10.13 MB / 1.374 GB, free: 8.152 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.08/12.16, allocations: 19.22 kB / 1.374 GB, free: 8.137 MB / 1.076 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases_res.mat --tempDir=temp_Buildings_12_Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases.fmu > Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.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.720491469022818]