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.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.001563/0.001563, allocations: 114.8 kB / 17.16 MB, free: 5.895 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.001653/0.001653, allocations: 210.2 kB / 20.13 MB, free: 2.949 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.464/1.464, 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 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.832/2.832, allocations: 476.7 MB / 0.7678 GB, free: 9.34 MB / 0.6075 GB " [Timeout remaining time 176] 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.Examples.Tutorial.SimpleHouse.SimpleHouse3,fileNamePrefix="Buildings_11_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse3",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3,fileNamePrefix="Buildings_11_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse3",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.002166/0.002166, allocations: 59.91 kB / 1.113 GB, free: 15.84 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.958/0.9601, allocations: 169.9 MB / 1.279 GB, free: 11.73 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3): time 0.2365/1.197, allocations: 169.5 MB / 1.445 GB, free: 2.371 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.01518/1.212, allocations: 7.921 MB / 1.452 GB, free: 10.43 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001899/1.214, allocations: 47.62 kB / 1.452 GB, free: 10.38 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.001482/1.215, allocations: 424.9 kB / 1.453 GB, free: 9.961 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.004665/1.22, allocations: 1.364 MB / 1.454 GB, free: 8.594 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.003434/1.223, allocations: 1.191 MB / 1.455 GB, free: 7.41 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.004771/1.228, allocations: 2.364 MB / 1.457 GB, free: 5.039 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001716/1.23, allocations: 0.9958 MB / 1.458 GB, free: 4.023 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001407/1.231, allocations: 0.8641 MB / 1.459 GB, free: 3.156 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001587/1.233, allocations: 0.8256 MB / 1.46 GB, free: 2.332 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.000238/1.233, allocations: 159.9 kB / 1.46 GB, free: 2.176 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002577/1.236, allocations: 1.197 MB / 1.461 GB, free: 0.9766 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0004645/1.236, allocations: 438.6 kB / 1.462 GB, free: 0.5469 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0008636/1.237, allocations: 0.793 MB / 1.463 GB, free: 15.75 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.003788/1.241, allocations: 2.463 MB / 1.465 GB, free: 13.28 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 6.002e-06/1.241, allocations: 3.938 kB / 1.465 GB, free: 13.27 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.834e-06/1.241, allocations: 0 / 1.465 GB, free: 13.27 MB / 1.154 GB Notification: Performance of Transformations before backend: time 2.559e-05/1.241, allocations: 0 / 1.465 GB, free: 13.27 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: 279 * Number of variables: 279 Notification: Performance of Generate backend data structure: time 0.003873/1.245, allocations: 1.954 MB / 1.467 GB, free: 11.26 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.841e-05/1.245, allocations: 8.031 kB / 1.467 GB, free: 11.25 MB / 1.154 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.657e-05/1.245, allocations: 30.2 kB / 1.467 GB, free: 11.22 MB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002284/1.245, allocations: 168.9 kB / 1.467 GB, free: 11.04 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002583/1.247, allocations: 382.6 kB / 1.468 GB, free: 10.67 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001833/1.249, allocations: 1.039 MB / 1.469 GB, free: 9.582 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.699e-05/1.249, allocations: 86.2 kB / 1.469 GB, free: 9.496 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001663/1.25, allocations: 112 kB / 1.469 GB, free: 9.387 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002186/1.252, allocations: 1.164 MB / 1.47 GB, free: 8.152 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.692e-05/1.252, allocations: 0 / 1.47 GB, free: 8.152 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001131/1.252, allocations: 51.94 kB / 1.47 GB, free: 8.102 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.793e-05/1.252, allocations: 38.12 kB / 1.47 GB, free: 8.062 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002396/1.254, allocations: 1.319 MB / 1.471 GB, free: 6.734 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.006613/1.261, allocations: 3.835 MB / 1.475 GB, free: 2.691 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001985/1.263, allocations: 0.9419 MB / 1.476 GB, free: 1.746 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007236/1.264, allocations: 370 kB / 1.476 GB, free: 1.383 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001058/1.264, allocations: 33.03 kB / 1.476 GB, free: 1.352 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001115/1.265, allocations: 0.5876 MB / 1.477 GB, free: 0.7461 MB / 1.154 GB Notification: Performance of pre-optimization done (n=102): time 2.394e-06/1.265, allocations: 0 / 1.477 GB, free: 0.7461 MB / 1.154 GB Notification: Performance of matching and sorting (n=102): time 0.004023/1.269, allocations: 1.446 MB / 1.478 GB, free: 15.27 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001386/1.269, allocations: 188.9 kB / 1.478 GB, free: 15.05 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001315/1.27, allocations: 0.8664 MB / 1.479 GB, free: 14.16 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 0.0001068/1.27, allocations: 49.7 kB / 1.479 GB, free: 14.1 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005485/1.271, allocations: 0.5402 MB / 1.48 GB, free: 13.55 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003912/1.271, allocations: 361 kB / 1.48 GB, free: 13.2 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003169/1.272, allocations: 186.5 kB / 1.48 GB, free: 13.01 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001748/1.272, allocations: 345.9 kB / 1.481 GB, free: 12.66 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006535/1.273, allocations: 309.8 kB / 1.481 GB, free: 12.36 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008548/1.273, allocations: 471.6 kB / 1.481 GB, free: 11.86 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001458/1.275, allocations: 0.7737 MB / 1.482 GB, free: 11.05 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/1.275, allocations: 7.938 kB / 1.482 GB, free: 11.05 MB / 1.17 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002611/1.277, allocations: 1.04 MB / 1.483 GB, free: 9.996 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.481e-05/1.277, allocations: 4 kB / 1.483 GB, free: 9.992 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.176e-05/1.278, allocations: 4 kB / 1.483 GB, free: 9.988 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006524/1.278, allocations: 84.98 kB / 1.483 GB, free: 9.902 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008864/1.279, allocations: 207.7 kB / 1.484 GB, free: 9.699 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002469/1.282, allocations: 1.627 MB / 1.485 GB, free: 7.926 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001149/1.283, allocations: 111.4 kB / 1.485 GB, free: 7.816 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.385e-05/1.283, allocations: 39.97 kB / 1.485 GB, free: 7.777 MB / 1.17 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.0006275/1.283, allocations: 318.9 kB / 1.486 GB, free: 7.457 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002497/1.284, allocations: 119.2 kB / 1.486 GB, free: 7.34 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002967/1.287, allocations: 1.248 MB / 1.487 GB, free: 6.078 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.295e-05/1.287, allocations: 12 kB / 1.487 GB, free: 6.066 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/1.287, allocations: 0 / 1.487 GB, free: 6.066 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.721e-05/1.287, allocations: 11.95 kB / 1.487 GB, free: 6.055 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001899/1.289, allocations: 1.185 MB / 1.488 GB, free: 4.816 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.711e-06/1.289, allocations: 4 kB / 1.488 GB, free: 4.812 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00093/1.289, allocations: 211.7 kB / 1.488 GB, free: 4.605 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004677/1.29, allocations: 72.78 kB / 1.488 GB, free: 4.531 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.283e-05/1.29, allocations: 27.98 kB / 1.488 GB, free: 4.504 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002181/1.292, allocations: 1.662 MB / 1.49 GB, free: 2.699 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/1.292, allocations: 4.031 kB / 1.49 GB, free: 2.695 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003483/1.296, allocations: 1.579 MB / 1.492 GB, free: 1.094 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006183/1.296, allocations: 335.9 kB / 1.492 GB, free: 0.7461 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001555/1.296, allocations: 24 kB / 1.492 GB, free: 0.7227 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008912/1.297, allocations: 71.98 kB / 1.492 GB, free: 0.6523 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001912/1.298, allocations: 80.89 kB / 1.492 GB, free: 0.5742 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.614e-05/1.298, allocations: 43.97 kB / 1.492 GB, free: 0.5312 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0009458/1.299, allocations: 0.6061 MB / 1.493 GB, free: 15.91 MB / 1.186 GB Notification: Performance of sort global known variables: time 1.2e-07/1.299, allocations: 3.938 kB / 1.493 GB, free: 15.91 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.001131/1.3, allocations: 427 kB / 1.493 GB, free: 15.49 MB / 1.186 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.005622/1.305, allocations: 2.656 MB / 1.496 GB, free: 12.99 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.002083/1.307, allocations: 0.9326 MB / 1.497 GB, free: 12.04 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/1.307, allocations: 0 / 1.497 GB, free: 12.04 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.001148/1.309, allocations: 0.567 MB / 1.497 GB, free: 11.46 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002107/1.311, allocations: 498.9 kB / 1.498 GB, free: 11 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01509/1.326, allocations: 8.325 MB / 1.506 GB, free: 2.488 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009161/1.327, allocations: 1.163 MB / 1.507 GB, free: 1.297 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.001133/1.328, allocations: 325.3 kB / 1.507 GB, free: 0.9766 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008491/1.329, allocations: 0.5188 MB / 1.508 GB, free: 468 kB / 1.186 GB Notification: Performance of SimCode: time 9.72e-07/1.329, allocations: 0 / 1.508 GB, free: 468 kB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08282/1.411, allocations: 30.07 MB / 1.537 GB, free: 2.734 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.98/18.4, allocations: 10.56 kB / 1.537 GB, free: 2.727 MB / 1.217 GB " [Timeout remaining time 281] (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 --stepSize=400 --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: 24.98744620999787]