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.001355/0.001355, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001649/0.001649, allocations: 211.6 kB / 22.24 MB, free: 5.262 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.456/1.456, allocations: 230.6 MB / 256 MB, free: 7.785 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.794/2.794, allocations: 476 MB / 0.7699 GB, free: 4.734 MB / 0.6231 GB " [Timeout remaining time 177] 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases",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.002065/0.002065, allocations: 66.89 kB / 1.117 GB, free: 41.1 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3521/0.3542, allocations: 170 MB / 1.283 GB, free: 12.46 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases): time 0.006248/0.3604, allocations: 4.141 MB / 1.287 GB, free: 8.305 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.004126/0.3646, allocations: 2.33 MB / 1.289 GB, free: 5.965 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003835/0.365, allocations: 23.75 kB / 1.289 GB, free: 5.941 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001222/0.3662, allocations: 374.3 kB / 1.289 GB, free: 5.574 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001138/0.3673, allocations: 382.2 kB / 1.29 GB, free: 5.199 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008978/0.3682, allocations: 326.8 kB / 1.29 GB, free: 4.883 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0008725/0.3691, allocations: 0.6791 MB / 1.291 GB, free: 4.203 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004088/0.3695, allocations: 233.5 kB / 1.291 GB, free: 3.973 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004104/0.3699, allocations: 267 kB / 1.291 GB, free: 3.711 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004041/0.3703, allocations: 274.8 kB / 1.291 GB, free: 3.441 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 5.343e-05/0.3704, allocations: 28 kB / 1.291 GB, free: 3.414 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006893/0.371, allocations: 383.1 kB / 1.292 GB, free: 3.039 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001686/0.3712, allocations: 143.5 kB / 1.292 GB, free: 2.898 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0002068/0.3714, allocations: 194.9 kB / 1.292 GB, free: 2.707 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0009687/0.3724, allocations: 0.7432 MB / 1.293 GB, free: 1.961 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.3724, allocations: 0 / 1.293 GB, free: 1.961 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.994e-06/0.3724, allocations: 0 / 1.293 GB, free: 1.961 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 9.227e-06/0.3724, allocations: 4 kB / 1.293 GB, free: 1.957 MB / 0.9825 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.001322/0.3737, allocations: 0.7226 MB / 1.293 GB, free: 1.203 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/0.3738, allocations: 8.031 kB / 1.293 GB, free: 1.195 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001014/0.3739, allocations: 82.69 kB / 1.294 GB, free: 1.105 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001377/0.3753, allocations: 188.4 kB / 1.294 GB, free: 0.9219 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007014/0.376, allocations: 381.5 kB / 1.294 GB, free: 0.5234 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.019e-05/0.376, allocations: 29.3 kB / 1.294 GB, free: 0.4922 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.243e-05/0.3761, allocations: 28.38 kB / 1.294 GB, free: 476 kB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00102/0.3771, allocations: 0.7346 MB / 1.295 GB, free: 15.62 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.026e-05/0.3771, allocations: 3.938 kB / 1.295 GB, free: 15.62 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.348e-05/0.3771, allocations: 19.98 kB / 1.295 GB, free: 15.6 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.591e-05/0.3772, allocations: 51.91 kB / 1.295 GB, free: 15.55 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007721/0.378, allocations: 0.4891 MB / 1.295 GB, free: 15.06 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003469/0.3815, allocations: 3.211 MB / 1.299 GB, free: 11.71 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001739/0.3832, allocations: 0.6009 MB / 1.299 GB, free: 11.08 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000246/0.3835, allocations: 166.5 kB / 1.299 GB, free: 10.91 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.624e-05/0.3835, allocations: 4 kB / 1.299 GB, free: 10.9 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.959e-05/0.3835, allocations: 42.5 kB / 1.299 GB, free: 10.85 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=30): time 2.094e-06/0.3835, allocations: 0 / 1.299 GB, free: 10.85 MB / 0.9981 GB Notification: Performance of matching and sorting (n=33): time 0.002262/0.3858, allocations: 1.061 MB / 1.3 GB, free: 9.773 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.926e-05/0.3859, allocations: 114.8 kB / 1.301 GB, free: 9.637 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004743/0.3863, allocations: 410 kB / 1.301 GB, free: 9.223 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.915e-05/0.3864, allocations: 29.7 kB / 1.301 GB, free: 9.188 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000232/0.3866, allocations: 292.2 kB / 1.301 GB, free: 8.898 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001104/0.3867, allocations: 122.9 kB / 1.301 GB, free: 8.777 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001448/0.3869, allocations: 102.2 kB / 1.301 GB, free: 8.672 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001997/0.3871, allocations: 354.8 kB / 1.302 GB, free: 8.316 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002792/0.3873, allocations: 177.2 kB / 1.302 GB, free: 8.145 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004797/0.3878, allocations: 380.1 kB / 1.302 GB, free: 7.68 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008009/0.3886, allocations: 0.5873 MB / 1.303 GB, free: 7 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.338e-05/0.3886, allocations: 4 kB / 1.303 GB, free: 6.996 MB / 0.9981 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001173/0.3898, allocations: 0.6709 MB / 1.304 GB, free: 6.309 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.743e-05/0.3898, allocations: 11.98 kB / 1.304 GB, free: 6.297 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.557e-05/0.3899, allocations: 8 kB / 1.304 GB, free: 6.289 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000392/0.3902, allocations: 95.27 kB / 1.304 GB, free: 6.188 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004517/0.3907, allocations: 123.7 kB / 1.304 GB, free: 6.066 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003852/0.3945, allocations: 4.033 MB / 1.308 GB, free: 1.688 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004447/0.395, allocations: 23.98 kB / 1.308 GB, free: 1.664 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.392e-05/0.395, allocations: 28.92 kB / 1.308 GB, free: 1.637 MB / 0.9981 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.0002956/0.3953, allocations: 201.8 kB / 1.308 GB, free: 1.43 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001157/0.3954, allocations: 47.72 kB / 1.308 GB, free: 1.383 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009726/0.3964, allocations: 0.5229 MB / 1.308 GB, free: 0.8438 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.66e-06/0.3964, allocations: 4 kB / 1.308 GB, free: 0.8398 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.3964, allocations: 0 / 1.308 GB, free: 0.8398 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.3964, allocations: 0 / 1.308 GB, free: 0.8398 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002015/0.3984, allocations: 1.212 MB / 1.31 GB, free: 15.54 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.702e-06/0.3985, allocations: 4 kB / 1.31 GB, free: 15.54 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002503/0.3987, allocations: 63.89 kB / 1.31 GB, free: 15.47 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002833/0.399, allocations: 90.78 kB / 1.31 GB, free: 15.38 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.575e-05/0.399, allocations: 8 kB / 1.31 GB, free: 15.37 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003573/0.4026, allocations: 4.022 MB / 1.314 GB, free: 11 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.138e-06/0.4026, allocations: 7.938 kB / 1.314 GB, free: 10.99 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001046/0.4036, allocations: 0.7795 MB / 1.315 GB, free: 10.16 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000212/0.4039, allocations: 75.67 kB / 1.315 GB, free: 10.08 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.432e-05/0.4039, allocations: 12 kB / 1.315 GB, free: 10.07 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003492/0.4043, allocations: 19.97 kB / 1.315 GB, free: 10.05 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.699e-05/0.4043, allocations: 39.83 kB / 1.315 GB, free: 10.01 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.09e-05/0.4044, allocations: 12 kB / 1.315 GB, free: 10 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0003421/0.4047, allocations: 279.2 kB / 1.315 GB, free: 9.73 MB / 1.014 GB Notification: Performance of sort global known variables: time 8e-08/0.4047, allocations: 0 / 1.315 GB, free: 9.73 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0006781/0.4054, allocations: 128 kB / 1.315 GB, free: 9.605 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.00133/0.4067, allocations: 1.33 MB / 1.316 GB, free: 8.211 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001344/0.408, allocations: 0.7743 MB / 1.317 GB, free: 7.398 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.536e-06/0.408, allocations: 3.938 kB / 1.317 GB, free: 7.395 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0007332/0.4088, allocations: 0.5351 MB / 1.318 GB, free: 6.82 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008953/0.4097, allocations: 143.9 kB / 1.318 GB, free: 6.688 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005948/0.4156, allocations: 4.56 MB / 1.322 GB, free: 1.785 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003096/0.4159, allocations: 264.2 kB / 1.323 GB, free: 1.508 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0003418/0.4163, allocations: 104.5 kB / 1.323 GB, free: 1.406 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002317/0.4165, allocations: 155.4 kB / 1.323 GB, free: 1.254 MB / 1.014 GB Notification: Performance of SimCode: time 8.82e-07/0.4165, allocations: 4 kB / 1.323 GB, free: 1.25 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04732/0.4638, allocations: 11.09 MB / 1.334 GB, free: 6.445 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.75/12.21, allocations: 4.812 kB / 1.334 GB, free: 6.441 MB / 1.029 GB " [Timeout remaining time 287] (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.795661224983633]