Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001313/0.001313, allocations: 117.1 kB / 17.16 MB, free: 5.895 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.0014/0.0014, allocations: 215 kB / 20.13 MB, free: 2.949 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.503/1.503, 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 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.833/2.833, allocations: 476.7 MB / 0.7678 GB, free: 9.363 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases,fileNamePrefix="Buildings_11_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.002016/0.002016, allocations: 63.89 kB / 1.113 GB, free: 15.81 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9472/0.9492, allocations: 169.9 MB / 1.279 GB, free: 11.71 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases): time 0.007476/0.9567, allocations: 4.35 MB / 1.283 GB, free: 8.723 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.005093/0.9618, allocations: 2.444 MB / 1.286 GB, free: 7.055 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004692/0.9623, allocations: 25.19 kB / 1.286 GB, free: 7.039 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001419/0.9637, allocations: 375.6 kB / 1.286 GB, free: 6.816 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.001274/0.965, allocations: 385.4 kB / 1.286 GB, free: 6.602 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001086/0.9661, allocations: 320.8 kB / 1.287 GB, free: 6.445 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001103/0.9672, allocations: 0.6764 MB / 1.287 GB, free: 6.133 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004852/0.9676, allocations: 214 kB / 1.287 GB, free: 6.043 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005166/0.9682, allocations: 274.8 kB / 1.288 GB, free: 5.926 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004717/0.9686, allocations: 282.4 kB / 1.288 GB, free: 5.809 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 5.356e-05/0.9687, allocations: 29.22 kB / 1.288 GB, free: 5.809 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009301/0.9696, allocations: 446.8 kB / 1.288 GB, free: 5.652 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001851/0.9698, allocations: 142.5 kB / 1.289 GB, free: 5.59 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002857/0.9701, allocations: 233.1 kB / 1.289 GB, free: 5.453 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001318/0.9714, allocations: 0.742 MB / 1.29 GB, free: 5.188 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.9714, allocations: 0 / 1.29 GB, free: 5.188 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.663e-06/0.9714, allocations: 1.219 kB / 1.29 GB, free: 5.188 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.114e-05/0.9714, allocations: 0 / 1.29 GB, free: 5.188 MB / 0.9981 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.001577/0.973, allocations: 0.8002 MB / 1.29 GB, free: 4.551 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.831e-05/0.9731, allocations: 9.969 kB / 1.29 GB, free: 4.551 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.006e-05/0.9731, allocations: 13.69 kB / 1.29 GB, free: 4.543 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001061/0.9732, allocations: 78.7 kB / 1.29 GB, free: 4.48 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001509/0.9747, allocations: 188.3 kB / 1.291 GB, free: 4.441 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007641/0.9755, allocations: 442.9 kB / 1.291 GB, free: 4.125 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.307e-05/0.9755, allocations: 26.19 kB / 1.291 GB, free: 4.113 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.931e-05/0.9756, allocations: 38.23 kB / 1.291 GB, free: 4.098 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001145/0.9767, allocations: 0.6518 MB / 1.292 GB, free: 3.672 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.416e-05/0.9768, allocations: 2.594 kB / 1.292 GB, free: 3.672 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.294e-05/0.9768, allocations: 18.81 kB / 1.292 GB, free: 3.66 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.35e-05/0.9769, allocations: 53.53 kB / 1.292 GB, free: 3.652 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000855/0.9778, allocations: 495.6 kB / 1.292 GB, free: 3.488 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00404/0.9818, allocations: 3.794 MB / 1.296 GB, free: 96 kB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001832/0.9836, allocations: 0.6098 MB / 1.297 GB, free: 15.9 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003005/0.9839, allocations: 168.6 kB / 1.297 GB, free: 15.83 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 2.88e-05/0.984, allocations: 7.438 kB / 1.297 GB, free: 15.82 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.418e-05/0.984, allocations: 37.42 kB / 1.297 GB, free: 15.78 MB / 1.014 GB Notification: Performance of pre-optimization done (n=30): time 2.455e-06/0.984, allocations: 0 / 1.297 GB, free: 15.78 MB / 1.014 GB Notification: Performance of matching and sorting (n=33): time 0.002666/0.9867, allocations: 1.293 MB / 1.298 GB, free: 15.01 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.725e-05/0.9867, allocations: 107.1 kB / 1.298 GB, free: 14.89 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000492/0.9872, allocations: 400.3 kB / 1.299 GB, free: 14.68 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 3.245e-05/0.9873, allocations: 30.77 kB / 1.299 GB, free: 14.64 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002383/0.9875, allocations: 292.3 kB / 1.299 GB, free: 14.4 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001125/0.9876, allocations: 125.3 kB / 1.299 GB, free: 14.3 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000157/0.9878, allocations: 98.67 kB / 1.299 GB, free: 14.25 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001843/0.988, allocations: 358.2 kB / 1.299 GB, free: 13.92 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002987/0.9882, allocations: 174.1 kB / 1.3 GB, free: 13.86 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004527/0.9887, allocations: 374.8 kB / 1.3 GB, free: 13.55 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008215/0.9895, allocations: 0.5918 MB / 1.301 GB, free: 13.11 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.9895, allocations: 2.188 kB / 1.301 GB, free: 13.11 MB / 1.014 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.00119/0.9907, allocations: 0.6684 MB / 1.301 GB, free: 12.82 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.205e-05/0.9907, allocations: 12.34 kB / 1.301 GB, free: 12.82 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.463e-05/0.9908, allocations: 10.97 kB / 1.301 GB, free: 12.82 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003765/0.9911, allocations: 99.36 kB / 1.301 GB, free: 12.77 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004171/0.9915, allocations: 112.6 kB / 1.301 GB, free: 12.76 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00414/0.9957, allocations: 4.352 MB / 1.306 GB, free: 8.477 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005018/0.9962, allocations: 34.05 kB / 1.306 GB, free: 8.465 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.681e-05/0.9962, allocations: 24.92 kB / 1.306 GB, free: 8.461 MB / 1.014 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.0003319/0.9966, allocations: 203.7 kB / 1.306 GB, free: 8.293 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001237/0.9967, allocations: 46.78 kB / 1.306 GB, free: 8.27 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001073/0.9978, allocations: 0.5213 MB / 1.306 GB, free: 8.031 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.141e-06/0.9978, allocations: 4.891 kB / 1.306 GB, free: 8.031 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.9978, allocations: 5.031 kB / 1.306 GB, free: 8.027 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.783e-06/0.9978, allocations: 3.25 kB / 1.306 GB, free: 8.027 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002274/1, allocations: 1.279 MB / 1.308 GB, free: 7.211 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.053e-06/1, allocations: 4.469 kB / 1.308 GB, free: 7.211 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002738/1, allocations: 63.02 kB / 1.308 GB, free: 7.203 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003365/1.001, allocations: 94.3 kB / 1.308 GB, free: 7.16 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.092e-05/1.001, allocations: 8.562 kB / 1.308 GB, free: 7.156 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004072/1.005, allocations: 4.334 MB / 1.312 GB, free: 2.883 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.422e-06/1.005, allocations: 7.688 kB / 1.312 GB, free: 2.879 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001171/1.006, allocations: 0.7844 MB / 1.313 GB, free: 2.328 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002924/1.006, allocations: 156.2 kB / 1.313 GB, free: 2.195 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.855e-05/1.006, allocations: 10.52 kB / 1.313 GB, free: 2.191 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003344/1.007, allocations: 21.41 kB / 1.313 GB, free: 2.188 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.151e-05/1.007, allocations: 46.83 kB / 1.313 GB, free: 2.164 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.699e-05/1.007, allocations: 10.06 kB / 1.313 GB, free: 2.164 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0004368/1.007, allocations: 282.6 kB / 1.313 GB, free: 2.027 MB / 1.014 GB Notification: Performance of sort global known variables: time 9e-08/1.007, allocations: 0 / 1.313 GB, free: 2.027 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0008334/1.008, allocations: 119.6 kB / 1.313 GB, free: 2.016 MB / 1.014 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.001369/1.009, allocations: 1.34 MB / 1.315 GB, free: 0.9258 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001404/1.011, allocations: 0.777 MB / 1.316 GB, free: 460 kB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.809e-06/1.011, allocations: 1.875 kB / 1.316 GB, free: 460 kB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0008038/1.012, allocations: 0.537 MB / 1.316 GB, free: 52 kB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001011/1.013, allocations: 137.8 kB / 1.316 GB, free: 4 kB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007008/1.02, allocations: 4.551 MB / 1.321 GB, free: 12.92 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005936/1.02, allocations: 0.8571 MB / 1.321 GB, free: 12.21 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0003565/1.021, allocations: 104.8 kB / 1.322 GB, free: 12.2 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002337/1.021, allocations: 157.4 kB / 1.322 GB, free: 12.08 MB / 1.029 GB Notification: Performance of SimCode: time 6.92e-07/1.021, allocations: 1.594 kB / 1.322 GB, free: 12.08 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04595/1.067, allocations: 10.14 MB / 1.332 GB, free: 8.855 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.95/12.02, allocations: 22.42 kB / 1.332 GB, free: 8.84 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases_res.mat --tempDir=temp_Buildings_11_Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases.fmu > Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.48879344499437]