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.001792/0.001792, allocations: 116.1 kB / 17.17 MB, free: 6 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.002096/0.002096, allocations: 209.5 kB / 20.13 MB, free: 3.055 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.498/1.498, 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 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.109/3.109, allocations: 0.5003 GB / 0.8026 GB, free: 6.727 MB / 0.6387 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.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.001999/0.001999, allocations: 63.91 kB / 1.165 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9582/0.9602, allocations: 178.9 MB / 1.34 GB, free: 13.82 MB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases): time 0.007159/0.9674, allocations: 4.362 MB / 1.344 GB, free: 10.43 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.004443/0.9718, allocations: 2.431 MB / 1.347 GB, free: 8.512 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004273/0.9722, allocations: 24.91 kB / 1.347 GB, free: 8.496 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001258/0.9735, allocations: 385.5 kB / 1.347 GB, free: 8.203 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0009395/0.9744, allocations: 382 kB / 1.348 GB, free: 7.91 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008194/0.9752, allocations: 320.4 kB / 1.348 GB, free: 7.668 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0008115/0.9761, allocations: 0.684 MB / 1.348 GB, free: 7.266 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003743/0.9764, allocations: 213.2 kB / 1.349 GB, free: 7.141 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004065/0.9768, allocations: 267 kB / 1.349 GB, free: 6.996 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004032/0.9772, allocations: 280.2 kB / 1.349 GB, free: 6.824 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 5.147e-05/0.9773, allocations: 32.88 kB / 1.349 GB, free: 6.82 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007328/0.978, allocations: 447.1 kB / 1.35 GB, free: 6.598 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001691/0.9782, allocations: 143.7 kB / 1.35 GB, free: 6.504 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002454/0.9784, allocations: 238.9 kB / 1.35 GB, free: 6.348 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001015/0.9795, allocations: 0.7306 MB / 1.351 GB, free: 5.875 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.9795, allocations: 0 / 1.351 GB, free: 5.875 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.202e-06/0.9795, allocations: 3.938 kB / 1.351 GB, free: 5.871 MB / 1.029 GB Notification: Performance of Transformations before backend: time 9.408e-06/0.9795, allocations: 1.219 kB / 1.351 GB, free: 5.871 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: 99 * Number of variables: 99 Notification: Performance of Generate backend data structure: time 0.001371/0.9808, allocations: 0.802 MB / 1.352 GB, free: 5.184 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.62e-05/0.9809, allocations: 9.469 kB / 1.352 GB, free: 5.184 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.368e-05/0.9809, allocations: 10.09 kB / 1.352 GB, free: 5.184 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.912e-05/0.981, allocations: 80.66 kB / 1.352 GB, free: 5.109 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001455/0.9825, allocations: 179.1 kB / 1.352 GB, free: 5.027 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000749/0.9832, allocations: 447.8 kB / 1.352 GB, free: 4.652 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.438e-05/0.9832, allocations: 31.27 kB / 1.352 GB, free: 4.633 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.212e-05/0.9833, allocations: 30.03 kB / 1.352 GB, free: 4.625 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001142/0.9845, allocations: 0.6528 MB / 1.353 GB, free: 4.113 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.637e-05/0.9845, allocations: 2.75 kB / 1.353 GB, free: 4.113 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.113e-05/0.9845, allocations: 21.25 kB / 1.353 GB, free: 4.098 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000104/0.9847, allocations: 64.62 kB / 1.353 GB, free: 4.07 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008361/0.9855, allocations: 494.3 kB / 1.353 GB, free: 3.832 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004105/0.9896, allocations: 3.802 MB / 1.357 GB, free: 184 kB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001851/0.9914, allocations: 0.6116 MB / 1.358 GB, free: 15.86 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002643/0.9917, allocations: 163.2 kB / 1.358 GB, free: 15.77 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.637e-05/0.9917, allocations: 2.781 kB / 1.358 GB, free: 15.77 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.762e-05/0.9918, allocations: 41.83 kB / 1.358 GB, free: 15.72 MB / 1.045 GB Notification: Performance of pre-optimization done (n=30): time 2.234e-06/0.9918, allocations: 0 / 1.358 GB, free: 15.72 MB / 1.045 GB Notification: Performance of matching and sorting (n=33): time 0.002634/0.9944, allocations: 1.299 MB / 1.359 GB, free: 14.82 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.273e-05/0.9945, allocations: 107.1 kB / 1.359 GB, free: 14.69 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004899/0.995, allocations: 404.7 kB / 1.36 GB, free: 14.43 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 3.677e-05/0.995, allocations: 31.33 kB / 1.36 GB, free: 14.39 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002298/0.9952, allocations: 286 kB / 1.36 GB, free: 14.14 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001207/0.9954, allocations: 122.8 kB / 1.36 GB, free: 14.03 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001685/0.9955, allocations: 103.4 kB / 1.36 GB, free: 13.96 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.00019/0.9957, allocations: 357.7 kB / 1.361 GB, free: 13.61 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002835/0.996, allocations: 175.4 kB / 1.361 GB, free: 13.53 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004496/0.9965, allocations: 378.2 kB / 1.361 GB, free: 13.18 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008339/0.9973, allocations: 0.5863 MB / 1.362 GB, free: 12.71 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/0.9973, allocations: 5.688 kB / 1.362 GB, free: 12.71 MB / 1.045 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001215/0.9985, allocations: 0.6672 MB / 1.362 GB, free: 12.35 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 3.322e-05/0.9985, allocations: 9 kB / 1.362 GB, free: 12.35 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.843e-05/0.9986, allocations: 9.969 kB / 1.362 GB, free: 12.34 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004998/0.9991, allocations: 105.1 kB / 1.362 GB, free: 12.28 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004186/0.9995, allocations: 110.9 kB / 1.363 GB, free: 12.25 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004064/1.004, allocations: 4.352 MB / 1.367 GB, free: 7.551 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004117/1.004, allocations: 31.92 kB / 1.367 GB, free: 7.52 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.387e-05/1.004, allocations: 27.98 kB / 1.367 GB, free: 7.492 MB / 1.045 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.0002941/1.004, allocations: 199.5 kB / 1.367 GB, free: 7.289 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001209/1.004, allocations: 51.67 kB / 1.367 GB, free: 7.238 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001016/1.005, allocations: 0.5108 MB / 1.368 GB, free: 6.711 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.47e-06/1.005, allocations: 4 kB / 1.368 GB, free: 6.707 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/1.005, allocations: 0 / 1.368 GB, free: 6.707 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.291e-06/1.005, allocations: 7.938 kB / 1.368 GB, free: 6.699 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001916/1.007, allocations: 1.284 MB / 1.369 GB, free: 5.32 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.64e-06/1.007, allocations: 8.031 kB / 1.369 GB, free: 5.312 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002453/1.008, allocations: 59.89 kB / 1.369 GB, free: 5.254 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002729/1.008, allocations: 82.52 kB / 1.369 GB, free: 5.164 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.84e-05/1.008, allocations: 16 kB / 1.369 GB, free: 5.148 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003753/1.012, allocations: 4.341 MB / 1.373 GB, free: 396 kB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.251e-06/1.012, allocations: 7.984 kB / 1.373 GB, free: 388 kB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00106/1.013, allocations: 0.7816 MB / 1.374 GB, free: 15.54 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002146/1.013, allocations: 152.8 kB / 1.374 GB, free: 15.37 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.382e-05/1.013, allocations: 12 kB / 1.374 GB, free: 15.36 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000319/1.013, allocations: 27.97 kB / 1.374 GB, free: 15.33 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.403e-05/1.013, allocations: 31.84 kB / 1.374 GB, free: 15.3 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.28e-05/1.013, allocations: 12 kB / 1.374 GB, free: 15.29 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0003218/1.014, allocations: 279.1 kB / 1.375 GB, free: 15.02 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/1.014, allocations: 0 / 1.375 GB, free: 15.02 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0007035/1.014, allocations: 120 kB / 1.375 GB, free: 14.9 MB / 1.061 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.001354/1.016, allocations: 1.342 MB / 1.376 GB, free: 13.49 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001347/1.017, allocations: 0.7833 MB / 1.377 GB, free: 12.67 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.786e-06/1.017, allocations: 0 / 1.377 GB, free: 12.67 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0007693/1.018, allocations: 0.5279 MB / 1.377 GB, free: 12.11 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009116/1.019, allocations: 138.7 kB / 1.377 GB, free: 11.98 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005994/1.025, allocations: 4.551 MB / 1.382 GB, free: 7.082 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005602/1.025, allocations: 0.8702 MB / 1.383 GB, free: 6.188 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0002779/1.026, allocations: 96.48 kB / 1.383 GB, free: 6.09 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002311/1.026, allocations: 163.3 kB / 1.383 GB, free: 5.93 MB / 1.061 GB Notification: Performance of SimCode: time 7.52e-07/1.026, allocations: 0 / 1.383 GB, free: 5.93 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03949/1.065, allocations: 10.14 MB / 1.393 GB, free: 12.03 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.18/12.25, allocations: 18.89 kB / 1.393 GB, free: 12.02 MB / 1.076 GB " [Timeout remaining time 288] (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: 18.800209661014378]