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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001942/0.001942, allocations: 108.7 kB / 16.45 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002056/0.002056, allocations: 191.8 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.408/1.408, allocations: 225.6 MB / 247.8 MB, free: 13.92 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.866/2.866, allocations: 476.7 MB / 0.7611 GB, free: 11.31 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.003247/0.003247, allocations: 67.89 kB / 1.104 GB, free: 9.266 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7757/0.7789, allocations: 168.7 MB / 1.269 GB, free: 5.172 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases): time 0.006641/0.7856, allocations: 4.339 MB / 1.273 GB, free: 0.8164 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.004185/0.7898, allocations: 2.408 MB / 1.275 GB, free: 14.4 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003291/0.7901, allocations: 15.88 kB / 1.275 GB, free: 14.38 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001223/0.7913, allocations: 378.2 kB / 1.276 GB, free: 14.01 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0009739/0.7923, allocations: 374.2 kB / 1.276 GB, free: 13.64 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008688/0.7932, allocations: 323.2 kB / 1.276 GB, free: 13.33 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0009538/0.7941, allocations: 0.6789 MB / 1.277 GB, free: 12.65 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004271/0.7945, allocations: 215.9 kB / 1.277 GB, free: 12.43 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004361/0.795, allocations: 259 kB / 1.277 GB, free: 12.18 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004507/0.7954, allocations: 274.9 kB / 1.278 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 6.555e-05/0.7955, allocations: 32 kB / 1.278 GB, free: 11.88 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007744/0.7963, allocations: 451 kB / 1.278 GB, free: 11.44 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001843/0.7964, allocations: 151.4 kB / 1.278 GB, free: 11.29 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0002894/0.7967, allocations: 230.8 kB / 1.279 GB, free: 11.06 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001108/0.7978, allocations: 0.7315 MB / 1.279 GB, free: 10.33 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.7978, allocations: 0 / 1.279 GB, free: 10.33 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.533e-06/0.7978, allocations: 4 kB / 1.279 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 2.055e-05/0.7979, allocations: 0 / 1.279 GB, free: 10.32 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.001346/0.7992, allocations: 0.812 MB / 1.28 GB, free: 9.461 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.906e-05/0.7993, allocations: 8.031 kB / 1.28 GB, free: 9.453 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.84e-05/0.7993, allocations: 74.72 kB / 1.28 GB, free: 9.371 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001427/0.8008, allocations: 184.3 kB / 1.28 GB, free: 9.191 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007319/0.8015, allocations: 440.8 kB / 1.281 GB, free: 8.719 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.239e-05/0.8015, allocations: 37.34 kB / 1.281 GB, free: 8.684 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.796e-05/0.8016, allocations: 32.36 kB / 1.281 GB, free: 8.652 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009564/0.8026, allocations: 0.6585 MB / 1.281 GB, free: 7.902 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.101e-05/0.8026, allocations: 4 kB / 1.281 GB, free: 7.898 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.178e-05/0.8026, allocations: 15.98 kB / 1.281 GB, free: 7.883 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.918e-05/0.8027, allocations: 59.91 kB / 1.282 GB, free: 7.824 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007745/0.8035, allocations: 499.3 kB / 1.282 GB, free: 7.336 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003753/0.8072, allocations: 3.791 MB / 1.286 GB, free: 3.285 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001775/0.809, allocations: 0.6017 MB / 1.286 GB, free: 2.656 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002524/0.8093, allocations: 170.5 kB / 1.286 GB, free: 2.48 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.168e-05/0.8093, allocations: 7.984 kB / 1.286 GB, free: 2.473 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.101e-05/0.8093, allocations: 38.5 kB / 1.287 GB, free: 2.426 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=30): time 1.773e-06/0.8093, allocations: 4 kB / 1.287 GB, free: 2.422 MB / 0.9825 GB Notification: Performance of matching and sorting (n=33): time 0.002376/0.8117, allocations: 1.291 MB / 1.288 GB, free: 1.059 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.835e-05/0.8118, allocations: 115.3 kB / 1.288 GB, free: 0.9219 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004614/0.8123, allocations: 393.9 kB / 1.288 GB, free: 0.5234 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.279e-05/0.8123, allocations: 33.64 kB / 1.288 GB, free: 496 kB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002184/0.8125, allocations: 296.1 kB / 1.289 GB, free: 196 kB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001108/0.8126, allocations: 126.9 kB / 1.289 GB, free: 68 kB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000164/0.8128, allocations: 98.16 kB / 1.289 GB, free: 15.96 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001779/0.813, allocations: 354.7 kB / 1.289 GB, free: 15.61 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002818/0.8132, allocations: 177 kB / 1.289 GB, free: 15.44 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004541/0.8137, allocations: 383.7 kB / 1.29 GB, free: 14.97 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007821/0.8145, allocations: 0.5793 MB / 1.29 GB, free: 14.3 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.27e-06/0.8145, allocations: 4 kB / 1.29 GB, free: 14.3 MB / 0.9981 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001209/0.8157, allocations: 0.6833 MB / 1.291 GB, free: 13.6 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.546e-05/0.8157, allocations: 8 kB / 1.291 GB, free: 13.59 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.183e-05/0.8157, allocations: 8 kB / 1.291 GB, free: 13.58 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003875/0.8161, allocations: 94.39 kB / 1.291 GB, free: 13.48 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004262/0.8165, allocations: 115.8 kB / 1.291 GB, free: 13.37 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00392/0.8205, allocations: 4.348 MB / 1.295 GB, free: 8.605 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003691/0.8208, allocations: 27.97 kB / 1.295 GB, free: 8.578 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.036e-05/0.8209, allocations: 24 kB / 1.295 GB, free: 8.555 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.0003101/0.8212, allocations: 200.3 kB / 1.296 GB, free: 8.352 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001264/0.8213, allocations: 59.66 kB / 1.296 GB, free: 8.293 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009522/0.8223, allocations: 0.5108 MB / 1.296 GB, free: 7.762 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.663e-06/0.8223, allocations: 4 kB / 1.296 GB, free: 7.758 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.231e-06/0.8223, allocations: 4 kB / 1.296 GB, free: 7.754 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.336e-06/0.8223, allocations: 3.984 kB / 1.296 GB, free: 7.75 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002/0.8243, allocations: 1.283 MB / 1.297 GB, free: 6.371 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.378e-06/0.8243, allocations: 0 / 1.297 GB, free: 6.371 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002559/0.8245, allocations: 67.89 kB / 1.297 GB, free: 6.305 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002667/0.8248, allocations: 90.78 kB / 1.298 GB, free: 6.207 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.615e-05/0.8248, allocations: 8 kB / 1.298 GB, free: 6.199 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003703/0.8285, allocations: 4.34 MB / 1.302 GB, free: 1.441 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.542e-06/0.8285, allocations: 4.031 kB / 1.302 GB, free: 1.438 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001006/0.8295, allocations: 0.7862 MB / 1.303 GB, free: 0.5938 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002553/0.8298, allocations: 156.7 kB / 1.303 GB, free: 432 kB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.748e-05/0.8299, allocations: 12 kB / 1.303 GB, free: 420 kB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003186/0.8302, allocations: 19.97 kB / 1.303 GB, free: 400 kB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.103e-05/0.8302, allocations: 39.84 kB / 1.303 GB, free: 360 kB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.195e-05/0.8303, allocations: 12 kB / 1.303 GB, free: 348 kB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0003222/0.8306, allocations: 283.1 kB / 1.303 GB, free: 68 kB / 0.9981 GB Notification: Performance of sort global known variables: time 9e-08/0.8306, allocations: 0 / 1.303 GB, free: 68 kB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0007021/0.8313, allocations: 124 kB / 1.303 GB, free: 15.94 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.001351/0.8326, allocations: 1.325 MB / 1.305 GB, free: 14.55 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001393/0.834, allocations: 0.7908 MB / 1.305 GB, free: 13.73 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.834, allocations: 0 / 1.305 GB, free: 13.73 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0007606/0.8348, allocations: 0.5351 MB / 1.306 GB, free: 13.15 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009436/0.8357, allocations: 132.7 kB / 1.306 GB, free: 13.03 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00612/0.8419, allocations: 4.555 MB / 1.31 GB, free: 8.125 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005733/0.8424, allocations: 0.8547 MB / 1.311 GB, free: 7.246 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0003154/0.8428, allocations: 108.5 kB / 1.311 GB, free: 7.141 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002202/0.843, allocations: 151.3 kB / 1.311 GB, free: 6.992 MB / 1.014 GB Notification: Performance of SimCode: time 1.002e-06/0.843, allocations: 4 kB / 1.311 GB, free: 6.988 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04545/0.8884, allocations: 10.08 MB / 1.321 GB, free: 13.1 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.7/11.59, allocations: 22.53 kB / 1.321 GB, free: 13.08 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_2/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: 17.634618312120438]