Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.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.001236/0.001236, allocations: 106.7 kB / 16.45 MB, free: 6.449 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.001232/0.001232, allocations: 192.6 kB / 19.41 MB, free: 3.656 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.426/1.426, allocations: 225.6 MB / 247.8 MB, free: 3.719 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.815/2.815, allocations: 497.2 MB / 0.7812 GB, free: 11.94 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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.SimpleHouse0,fileNamePrefix="Buildings_latest_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0,fileNamePrefix="Buildings_latest_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse0",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002066/0.002066, allocations: 75.89 kB / 1.134 GB, free: 13.15 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8154/0.8174, allocations: 173.9 MB / 1.304 GB, free: 32.05 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0): time 0.004912/0.8223, allocations: 4.949 MB / 1.309 GB, free: 28.53 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.1686/0.9909, allocations: 151 MB / 1.456 GB, free: 14.74 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007425/0.9917, allocations: 20.41 kB / 1.456 GB, free: 14.73 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0006053/0.9923, allocations: 195.4 kB / 1.456 GB, free: 14.6 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.001768/0.9941, allocations: 0.5443 MB / 1.457 GB, free: 14.28 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.002147/0.9962, allocations: 0.8337 MB / 1.458 GB, free: 13.82 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.001729/0.9979, allocations: 1.376 MB / 1.459 GB, free: 13.11 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007647/0.9987, allocations: 414.7 kB / 1.46 GB, free: 12.85 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00077/0.9995, allocations: 494.8 kB / 1.46 GB, free: 12.61 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006623/1, allocations: 0.4947 MB / 1.461 GB, free: 12.34 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0001652/1, allocations: 113.2 kB / 1.461 GB, free: 12.34 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009902/1.001, allocations: 484.5 kB / 1.461 GB, free: 12.23 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0003081/1.002, allocations: 296.3 kB / 1.461 GB, free: 12.04 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0005893/1.002, allocations: 0.5505 MB / 1.462 GB, free: 11.67 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.002332/1.005, allocations: 1.621 MB / 1.463 GB, free: 10.98 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/1.005, allocations: 0 / 1.463 GB, free: 10.98 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.413e-06/1.005, allocations: 0 / 1.463 GB, free: 10.98 MB / 1.154 GB Notification: Performance of Transformations before backend: time 2.675e-05/1.005, allocations: 0 / 1.463 GB, free: 10.98 MB / 1.154 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 209 * Number of variables: 209 Notification: Performance of Generate backend data structure: time 0.002931/1.007, allocations: 1.469 MB / 1.465 GB, free: 9.969 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 3.616e-05/1.008, allocations: 10.5 kB / 1.465 GB, free: 9.969 MB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001744/1.008, allocations: 131.9 kB / 1.465 GB, free: 9.879 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009428/1.009, allocations: 195.2 kB / 1.465 GB, free: 9.809 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001467/1.01, allocations: 0.7687 MB / 1.466 GB, free: 9.305 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.481e-05/1.01, allocations: 69.12 kB / 1.466 GB, free: 9.27 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001141/1.01, allocations: 77.8 kB / 1.466 GB, free: 9.246 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001689/1.012, allocations: 0.9161 MB / 1.467 GB, free: 8.812 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.169e-05/1.012, allocations: 2.078 kB / 1.467 GB, free: 8.812 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.104e-05/1.012, allocations: 36.28 kB / 1.467 GB, free: 8.785 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.844e-05/1.012, allocations: 20.81 kB / 1.467 GB, free: 8.785 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001914/1.014, allocations: 1.096 MB / 1.468 GB, free: 8.434 MB / 1.154 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.004486/1.018, allocations: 2.831 MB / 1.471 GB, free: 6.105 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001445/1.02, allocations: 0.7379 MB / 1.472 GB, free: 5.73 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005073/1.02, allocations: 268.4 kB / 1.472 GB, free: 5.594 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 7.908e-05/1.021, allocations: 34.81 kB / 1.472 GB, free: 5.57 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008475/1.021, allocations: 485 kB / 1.472 GB, free: 5.266 MB / 1.154 GB Notification: Performance of pre-optimization done (n=78): time 2.204e-06/1.021, allocations: 4 kB / 1.472 GB, free: 5.262 MB / 1.154 GB Notification: Performance of matching and sorting (n=78): time 0.003201/1.025, allocations: 1.181 MB / 1.474 GB, free: 4.617 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001226/1.025, allocations: 189.9 kB / 1.474 GB, free: 4.398 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009478/1.026, allocations: 0.6325 MB / 1.474 GB, free: 4.031 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 9.764e-05/1.026, allocations: 38.58 kB / 1.474 GB, free: 3.992 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003602/1.026, allocations: 408.8 kB / 1.475 GB, free: 3.633 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002553/1.026, allocations: 265.3 kB / 1.475 GB, free: 3.402 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002381/1.027, allocations: 147.5 kB / 1.475 GB, free: 3.312 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0002186/1.027, allocations: 392.9 kB / 1.476 GB, free: 2.938 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005026/1.027, allocations: 242.8 kB / 1.476 GB, free: 2.82 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006086/1.028, allocations: 361.8 kB / 1.476 GB, free: 2.582 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001086/1.029, allocations: 0.5788 MB / 1.477 GB, free: 2.262 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.739e-06/1.029, allocations: 1.062 kB / 1.477 GB, free: 2.262 MB / 1.154 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.00218/1.031, allocations: 0.7967 MB / 1.477 GB, free: 1.848 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.739e-05/1.031, allocations: 5.438 kB / 1.477 GB, free: 1.848 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.179e-05/1.031, allocations: 9.969 kB / 1.477 GB, free: 1.84 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006034/1.032, allocations: 83.92 kB / 1.478 GB, free: 1.797 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005955/1.032, allocations: 150.1 kB / 1.478 GB, free: 1.758 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002096/1.035, allocations: 1.626 MB / 1.479 GB, free: 168 kB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007426/1.035, allocations: 93.91 kB / 1.479 GB, free: 104 kB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.206e-05/1.035, allocations: 27.64 kB / 1.479 GB, free: 96 kB / 1.154 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (85): * Single equations (assignments): 84 * 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.0004716/1.036, allocations: 261.9 kB / 1.48 GB, free: 15.88 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001883/1.036, allocations: 95.27 kB / 1.48 GB, free: 15.83 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00235/1.038, allocations: 1.047 MB / 1.481 GB, free: 15.24 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.478e-06/1.038, allocations: 8.188 kB / 1.481 GB, free: 15.24 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.243e-06/1.038, allocations: 5.125 kB / 1.481 GB, free: 15.23 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.029e-05/1.038, allocations: 3.984 kB / 1.481 GB, free: 15.23 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001137/1.04, allocations: 0.8916 MB / 1.482 GB, free: 14.55 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.937e-06/1.04, allocations: 0 / 1.482 GB, free: 14.55 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005447/1.04, allocations: 143.9 kB / 1.482 GB, free: 14.52 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004221/1.04, allocations: 78.78 kB / 1.482 GB, free: 14.48 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.747e-05/1.041, allocations: 24.17 kB / 1.482 GB, free: 14.46 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001954/1.042, allocations: 1.664 MB / 1.484 GB, free: 12.84 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/1.042, allocations: 0 / 1.484 GB, free: 12.84 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001969/1.044, allocations: 0.9125 MB / 1.484 GB, free: 12.34 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004586/1.045, allocations: 275.8 kB / 1.485 GB, free: 12.1 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001208/1.045, allocations: 17.72 kB / 1.485 GB, free: 12.09 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005792/1.046, allocations: 65.88 kB / 1.485 GB, free: 12.05 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001386/1.046, allocations: 73.42 kB / 1.485 GB, free: 12.02 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.698e-05/1.046, allocations: 30.64 kB / 1.485 GB, free: 12.01 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0005918/1.046, allocations: 463.3 kB / 1.485 GB, free: 11.74 MB / 1.17 GB Notification: Performance of sort global known variables: time 8e-08/1.046, allocations: 0 / 1.485 GB, free: 11.74 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0008565/1.047, allocations: 318.8 kB / 1.486 GB, free: 11.65 MB / 1.17 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (89): * Single equations (assignments): 83 * 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.003904/1.051, allocations: 1.98 MB / 1.488 GB, free: 10.42 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.001557/1.053, allocations: 0.7656 MB / 1.488 GB, free: 10.01 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/1.053, allocations: 1.344 kB / 1.488 GB, free: 10.01 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.0008591/1.054, allocations: 488 kB / 1.489 GB, free: 9.629 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001139/1.055, allocations: 298.2 kB / 1.489 GB, free: 9.359 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009927/1.065, allocations: 6.159 MB / 1.495 GB, free: 3.07 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006304/1.065, allocations: 1.019 MB / 1.496 GB, free: 2.027 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.0008092/1.066, allocations: 258.7 kB / 1.496 GB, free: 1.77 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005291/1.067, allocations: 399.2 kB / 1.497 GB, free: 1.379 MB / 1.17 GB Notification: Performance of SimCode: time 9.32e-07/1.067, allocations: 4 kB / 1.497 GB, free: 1.375 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05672/1.123, allocations: 21.57 MB / 1.518 GB, free: 12.06 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.41/14.53, allocations: 0 / 1.518 GB, free: 12.06 MB / 1.201 GB " [Timeout remaining time 285] (rm -f Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe ; mkfifo Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe >> ../files/Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0_res.mat --tempDir=temp_Buildings_latest_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse0_fmu --startTime=0 --stopTime=1e+06 --stepSize=400 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse0.fmu > Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse0.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.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: 20.780418967828155]