Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001262/0.001262, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.001453/0.001453, allocations: 215.9 kB / 23.04 MB, free: 5.074 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.417/1.417, allocations: 230.6 MB / 256.8 MB, free: 7.988 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.118/3.118, allocations: 0.5003 GB / 0.8061 GB, free: 26.77 MB / 0.6231 GB " [Timeout remaining time 177] 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.OnePhase.Loads.Examples.ThreePhases,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases,fileNamePrefix="Buildings_latest_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.00189/0.00189, allocations: 64.47 kB / 1.171 GB, free: 19.77 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3256/0.3275, allocations: 179 MB / 1.345 GB, free: 480 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases): time 0.006028/0.3335, allocations: 4.465 MB / 1.35 GB, free: 11.98 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.003817/0.3373, allocations: 2.478 MB / 1.352 GB, free: 9.492 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001932/0.3375, allocations: 23.75 kB / 1.352 GB, free: 9.469 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.001075/0.3386, allocations: 388.2 kB / 1.352 GB, free: 9.09 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0007357/0.3394, allocations: 382.2 kB / 1.353 GB, free: 8.715 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006879/0.34, allocations: 324.2 kB / 1.353 GB, free: 8.398 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0007316/0.3408, allocations: 0.6791 MB / 1.354 GB, free: 7.719 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003652/0.3411, allocations: 234.3 kB / 1.354 GB, free: 7.484 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003677/0.3415, allocations: 274.9 kB / 1.354 GB, free: 7.215 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003905/0.3419, allocations: 282.8 kB / 1.355 GB, free: 6.938 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 4.994e-05/0.3419, allocations: 32 kB / 1.355 GB, free: 6.906 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006438/0.3426, allocations: 447 kB / 1.355 GB, free: 6.469 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0001536/0.3427, allocations: 147.5 kB / 1.355 GB, free: 6.324 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0002339/0.343, allocations: 234.8 kB / 1.355 GB, free: 6.094 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0008339/0.3438, allocations: 0.7315 MB / 1.356 GB, free: 5.359 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.3438, allocations: 0 / 1.356 GB, free: 5.359 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.113e-06/0.3438, allocations: 4 kB / 1.356 GB, free: 5.355 MB / 1.045 GB Notification: Performance of Transformations before backend: time 8.455e-06/0.3438, allocations: 0 / 1.356 GB, free: 5.355 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: 99 * Number of variables: 99 Notification: Performance of Generate backend data structure: time 0.001151/0.345, allocations: 0.7382 MB / 1.357 GB, free: 4.582 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.579e-05/0.345, allocations: 8.031 kB / 1.357 GB, free: 4.574 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.198e-05/0.345, allocations: 9.188 kB / 1.357 GB, free: 4.566 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.101e-05/0.3451, allocations: 78.7 kB / 1.357 GB, free: 4.48 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001321/0.3464, allocations: 180.4 kB / 1.357 GB, free: 4.305 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006217/0.3471, allocations: 381.5 kB / 1.357 GB, free: 3.91 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.488e-05/0.3471, allocations: 21.38 kB / 1.357 GB, free: 3.891 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.527e-05/0.3471, allocations: 36.36 kB / 1.358 GB, free: 3.855 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008732/0.348, allocations: 0.6583 MB / 1.358 GB, free: 3.105 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.045e-05/0.348, allocations: 4 kB / 1.358 GB, free: 3.102 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.164e-05/0.3481, allocations: 12 kB / 1.358 GB, free: 3.09 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.978e-05/0.3482, allocations: 63.89 kB / 1.358 GB, free: 3.027 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007364/0.3489, allocations: 499.3 kB / 1.359 GB, free: 2.539 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003338/0.3522, allocations: 3.752 MB / 1.362 GB, free: 14.53 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001678/0.3539, allocations: 0.6088 MB / 1.363 GB, free: 13.89 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002432/0.3542, allocations: 166.4 kB / 1.363 GB, free: 13.72 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.359e-05/0.3542, allocations: 4 kB / 1.363 GB, free: 13.72 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.063e-05/0.3542, allocations: 42.56 kB / 1.363 GB, free: 13.67 MB / 1.061 GB Notification: Performance of pre-optimization done (n=30): time 1.523e-06/0.3542, allocations: 0 / 1.363 GB, free: 13.67 MB / 1.061 GB Notification: Performance of matching and sorting (n=33): time 0.002202/0.3564, allocations: 1.068 MB / 1.364 GB, free: 12.58 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.696e-05/0.3565, allocations: 111.4 kB / 1.364 GB, free: 12.45 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000424/0.3569, allocations: 397.8 kB / 1.365 GB, free: 12.05 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.321e-05/0.3569, allocations: 33.7 kB / 1.365 GB, free: 12.01 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002004/0.3571, allocations: 280.2 kB / 1.365 GB, free: 11.73 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 9.783e-05/0.3572, allocations: 123 kB / 1.365 GB, free: 11.61 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001432/0.3574, allocations: 102.2 kB / 1.365 GB, free: 11.51 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001572/0.3575, allocations: 358.7 kB / 1.366 GB, free: 11.15 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002633/0.3578, allocations: 181.2 kB / 1.366 GB, free: 10.97 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004074/0.3582, allocations: 380.1 kB / 1.366 GB, free: 10.51 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007237/0.3589, allocations: 0.5913 MB / 1.367 GB, free: 9.824 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.3589, allocations: 0 / 1.367 GB, free: 9.824 MB / 1.061 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001076/0.36, allocations: 0.6749 MB / 1.367 GB, free: 9.133 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.981e-05/0.36, allocations: 8 kB / 1.367 GB, free: 9.125 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.115e-05/0.36, allocations: 7.938 kB / 1.367 GB, free: 9.117 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003374/0.3604, allocations: 103.1 kB / 1.367 GB, free: 9.008 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003984/0.3608, allocations: 111.8 kB / 1.368 GB, free: 8.898 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003393/0.3642, allocations: 4.035 MB / 1.371 GB, free: 4.52 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003504/0.3645, allocations: 31.97 kB / 1.372 GB, free: 4.488 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.753e-05/0.3646, allocations: 24 kB / 1.372 GB, free: 4.465 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.0002489/0.3648, allocations: 197.7 kB / 1.372 GB, free: 4.262 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001126/0.3649, allocations: 47.72 kB / 1.372 GB, free: 4.215 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008965/0.3658, allocations: 0.5185 MB / 1.372 GB, free: 3.68 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/0.3658, allocations: 4 kB / 1.372 GB, free: 3.676 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.3658, allocations: 0 / 1.372 GB, free: 3.676 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.302e-06/0.3658, allocations: 7.922 kB / 1.372 GB, free: 3.668 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001779/0.3676, allocations: 1.263 MB / 1.374 GB, free: 2.316 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.841e-06/0.3676, allocations: 4 kB / 1.374 GB, free: 2.312 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002345/0.3679, allocations: 59.89 kB / 1.374 GB, free: 2.254 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002612/0.3681, allocations: 86.52 kB / 1.374 GB, free: 2.16 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.956e-05/0.3681, allocations: 11.98 kB / 1.374 GB, free: 2.148 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003299/0.3714, allocations: 4.034 MB / 1.378 GB, free: 13.77 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.901e-06/0.3714, allocations: 8.016 kB / 1.378 GB, free: 13.77 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009634/0.3724, allocations: 0.7866 MB / 1.378 GB, free: 12.92 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001898/0.3726, allocations: 75.69 kB / 1.378 GB, free: 12.85 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.947e-05/0.3727, allocations: 15.98 kB / 1.378 GB, free: 12.83 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003064/0.373, allocations: 15.98 kB / 1.379 GB, free: 12.82 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.072e-05/0.373, allocations: 39.81 kB / 1.379 GB, free: 12.78 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.566e-05/0.3731, allocations: 16 kB / 1.379 GB, free: 12.76 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0003109/0.3734, allocations: 275.1 kB / 1.379 GB, free: 12.49 MB / 1.076 GB Notification: Performance of sort global known variables: time 9e-08/0.3734, allocations: 0 / 1.379 GB, free: 12.49 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0006654/0.374, allocations: 128 kB / 1.379 GB, free: 12.37 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.001243/0.3753, allocations: 1.331 MB / 1.38 GB, free: 10.97 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001295/0.3766, allocations: 0.7868 MB / 1.381 GB, free: 10.14 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.3766, allocations: 0 / 1.381 GB, free: 10.14 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0007509/0.3773, allocations: 0.5357 MB / 1.382 GB, free: 9.57 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000899/0.3782, allocations: 137.2 kB / 1.382 GB, free: 9.445 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005772/0.384, allocations: 4.561 MB / 1.386 GB, free: 4.539 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005362/0.3845, allocations: 0.8586 MB / 1.387 GB, free: 3.656 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0002865/0.3848, allocations: 104.5 kB / 1.387 GB, free: 3.551 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002183/0.385, allocations: 159.3 kB / 1.387 GB, free: 3.395 MB / 1.076 GB Notification: Performance of SimCode: time 5.71e-07/0.385, allocations: 0 / 1.387 GB, free: 3.395 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05813/0.4432, allocations: 10.49 MB / 1.397 GB, free: 9.125 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.99/12.43, allocations: 13.44 kB / 1.397 GB, free: 9.117 MB / 1.092 GB " [Timeout remaining time 287] (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases.fmu > Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 19.00507481902605]