Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.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.001402/0.001402, allocations: 108.3 kB / 17.54 MB, free: 4.781 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.00141/0.00141, allocations: 190.6 kB / 20.71 MB, free: 1.625 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.29/1.29, allocations: 225.6 MB / 249.3 MB, free: 3.328 MB / 190.1 MB " [Timeout remaining time 179] 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.491/2.491, allocations: 476.7 MB / 0.7628 GB, free: 15.17 MB / 0.6075 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.Examples.Tutorial.SimpleHouse.SimpleHouse3,fileNamePrefix="Buildings_11_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3,fileNamePrefix="Buildings_11_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse3",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001779/0.001779, allocations: 64.12 kB / 1.107 GB, free: 5.152 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7734/0.7752, allocations: 168.7 MB / 1.271 GB, free: 7.711 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3): time 0.1802/0.9554, allocations: 166.8 MB / 1.434 GB, free: 11.27 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.01214/0.9675, allocations: 7.941 MB / 1.442 GB, free: 4.859 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001293/0.9688, allocations: 33.81 kB / 1.442 GB, free: 4.848 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.001065/0.9699, allocations: 409.5 kB / 1.442 GB, free: 4.504 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.003457/0.9733, allocations: 1.345 MB / 1.444 GB, free: 3.477 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.002805/0.9761, allocations: 1.202 MB / 1.445 GB, free: 2.543 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.002946/0.9791, allocations: 2.362 MB / 1.447 GB, free: 0.6602 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001347/0.9804, allocations: 0.9761 MB / 1.448 GB, free: 15.66 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001238/0.9817, allocations: 0.829 MB / 1.449 GB, free: 14.83 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001445/0.9831, allocations: 0.8197 MB / 1.45 GB, free: 14.01 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0002351/0.9834, allocations: 148 kB / 1.45 GB, free: 13.87 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002438/0.9858, allocations: 1.17 MB / 1.451 GB, free: 12.7 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0005233/0.9863, allocations: 434.5 kB / 1.451 GB, free: 12.27 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0008541/0.9872, allocations: 0.7813 MB / 1.452 GB, free: 11.48 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.003416/0.9906, allocations: 2.425 MB / 1.455 GB, free: 9.051 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 4.187e-06/0.9906, allocations: 0 / 1.455 GB, free: 9.051 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.653e-06/0.9906, allocations: 4 kB / 1.455 GB, free: 9.047 MB / 1.139 GB Notification: Performance of Transformations before backend: time 1.709e-05/0.9906, allocations: 0 / 1.455 GB, free: 9.047 MB / 1.139 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 279 * Number of variables: 279 Notification: Performance of Generate backend data structure: time 0.003215/0.9938, allocations: 1.927 MB / 1.457 GB, free: 7.059 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 3.807e-05/0.9939, allocations: 12.03 kB / 1.457 GB, free: 7.047 MB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002032/0.9941, allocations: 172.9 kB / 1.457 GB, free: 6.867 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001741/0.9958, allocations: 334.6 kB / 1.457 GB, free: 6.539 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001555/0.9974, allocations: 1.027 MB / 1.458 GB, free: 5.465 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.426e-05/0.9974, allocations: 82.2 kB / 1.458 GB, free: 5.383 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002062/0.9976, allocations: 108 kB / 1.458 GB, free: 5.277 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001934/0.9996, allocations: 1.18 MB / 1.459 GB, free: 4.027 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.37e-05/0.9996, allocations: 0 / 1.459 GB, free: 4.027 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001067/0.9997, allocations: 48 kB / 1.459 GB, free: 3.98 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.478e-05/0.9998, allocations: 42.06 kB / 1.459 GB, free: 3.938 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002111/1.002, allocations: 1.304 MB / 1.461 GB, free: 2.625 MB / 1.139 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005427/1.007, allocations: 3.824 MB / 1.464 GB, free: 14.59 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001822/1.009, allocations: 0.9381 MB / 1.465 GB, free: 13.66 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006614/1.01, allocations: 369.2 kB / 1.466 GB, free: 13.29 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 9.131e-05/1.01, allocations: 37.02 kB / 1.466 GB, free: 13.26 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009846/1.011, allocations: 0.5835 MB / 1.466 GB, free: 12.65 MB / 1.154 GB Notification: Performance of pre-optimization done (n=102): time 2.394e-06/1.011, allocations: 0 / 1.466 GB, free: 12.65 MB / 1.154 GB Notification: Performance of matching and sorting (n=102): time 0.003554/1.014, allocations: 1.446 MB / 1.468 GB, free: 11.17 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001209/1.015, allocations: 188.9 kB / 1.468 GB, free: 10.95 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001107/1.016, allocations: 0.8457 MB / 1.469 GB, free: 10.07 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 8.151e-05/1.016, allocations: 49.64 kB / 1.469 GB, free: 10.02 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004556/1.016, allocations: 0.5285 MB / 1.469 GB, free: 9.484 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.000323/1.017, allocations: 368.9 kB / 1.47 GB, free: 9.121 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002747/1.017, allocations: 178.6 kB / 1.47 GB, free: 8.938 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001678/1.017, allocations: 341.9 kB / 1.47 GB, free: 8.598 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006101/1.018, allocations: 317.8 kB / 1.47 GB, free: 8.289 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007712/1.018, allocations: 467.7 kB / 1.471 GB, free: 7.789 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001365/1.02, allocations: 0.7737 MB / 1.472 GB, free: 6.984 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.229e-06/1.02, allocations: 8 kB / 1.472 GB, free: 6.977 MB / 1.154 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002254/1.022, allocations: 1.025 MB / 1.473 GB, free: 5.941 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.035e-05/1.022, allocations: 11.98 kB / 1.473 GB, free: 5.93 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.615e-06/1.022, allocations: 0 / 1.473 GB, free: 5.93 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005603/1.023, allocations: 88.98 kB / 1.473 GB, free: 5.84 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008021/1.023, allocations: 207.7 kB / 1.473 GB, free: 5.637 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002193/1.026, allocations: 1.638 MB / 1.475 GB, free: 3.852 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009736/1.027, allocations: 111.3 kB / 1.475 GB, free: 3.742 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.789e-05/1.027, allocations: 36.05 kB / 1.475 GB, free: 3.707 MB / 1.154 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 15 (weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (116): * Single equations (assignments): 115 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0005665/1.027, allocations: 321.7 kB / 1.475 GB, free: 3.383 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002109/1.027, allocations: 123.2 kB / 1.475 GB, free: 3.262 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002637/1.03, allocations: 1.24 MB / 1.476 GB, free: 2.008 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.299e-05/1.03, allocations: 12 kB / 1.476 GB, free: 1.996 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.455e-06/1.03, allocations: 0 / 1.476 GB, free: 1.996 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.433e-05/1.03, allocations: 7.969 kB / 1.476 GB, free: 1.988 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001517/1.032, allocations: 1.173 MB / 1.477 GB, free: 0.7617 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/1.032, allocations: 0 / 1.477 GB, free: 0.7617 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000886/1.032, allocations: 211.7 kB / 1.478 GB, free: 0.5547 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004213/1.033, allocations: 68.78 kB / 1.478 GB, free: 496 kB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.586e-05/1.033, allocations: 31.98 kB / 1.478 GB, free: 464 kB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001989/1.035, allocations: 1.666 MB / 1.479 GB, free: 14.64 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/1.035, allocations: 3.938 kB / 1.479 GB, free: 14.64 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002995/1.038, allocations: 1.578 MB / 1.481 GB, free: 13.04 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000472/1.038, allocations: 328 kB / 1.481 GB, free: 12.7 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001391/1.039, allocations: 31.94 kB / 1.481 GB, free: 12.66 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008096/1.039, allocations: 65.97 kB / 1.481 GB, free: 12.6 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000151/1.039, allocations: 80.88 kB / 1.481 GB, free: 12.52 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.139e-05/1.04, allocations: 47.97 kB / 1.481 GB, free: 12.48 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0007783/1.04, allocations: 0.5898 MB / 1.482 GB, free: 11.88 MB / 1.17 GB Notification: Performance of sort global known variables: time 9e-08/1.04, allocations: 0 / 1.482 GB, free: 11.88 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.001009/1.041, allocations: 423 kB / 1.482 GB, free: 11.46 MB / 1.17 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (walCap.T,zon.dynBal.medium.Xi[1],zon.dynBal.U,zon.dynBal.m) * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (113): * Single equations (assignments): 107 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.005047/1.046, allocations: 2.65 MB / 1.485 GB, free: 8.965 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.001856/1.048, allocations: 0.9331 MB / 1.486 GB, free: 8.016 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/1.048, allocations: 0 / 1.486 GB, free: 8.016 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.00104/1.049, allocations: 0.5667 MB / 1.487 GB, free: 7.438 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001811/1.051, allocations: 0.489 MB / 1.487 GB, free: 6.977 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01295/1.064, allocations: 8.26 MB / 1.495 GB, free: 14.53 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008101/1.065, allocations: 1.158 MB / 1.496 GB, free: 13.34 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.000964/1.066, allocations: 317.2 kB / 1.496 GB, free: 13.03 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007567/1.067, allocations: 0.5071 MB / 1.497 GB, free: 12.52 MB / 1.186 GB Notification: Performance of SimCode: time 6.31e-07/1.067, allocations: 0 / 1.497 GB, free: 12.52 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07114/1.138, allocations: 29.84 MB / 1.526 GB, free: 14.98 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.24/13.38, allocations: 2.922 kB / 1.526 GB, free: 14.98 MB / 1.217 GB " [Timeout remaining time 286] (rm -f Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe ; mkfifo Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe ; head -c 1048576 < Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe >> ../files/Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3_res.mat --tempDir=temp_Buildings_11_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse3_fmu --startTime=0 --stopTime=1e+06 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse3.fmu > Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.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.901209759000267]