Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.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.001282/0.001282, allocations: 117.1 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.001405/0.001405, allocations: 215 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.422/1.422, 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.779/2.779, allocations: 476.7 MB / 0.7678 GB, free: 9.316 MB / 0.6075 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.Examples.Tutorial.SimpleHouse.SimpleHouse2,fileNamePrefix="Buildings_11_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse2",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2,fileNamePrefix="Buildings_11_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse2",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.002036/0.002036, allocations: 63.89 kB / 1.113 GB, free: 15.87 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8222/0.8242, allocations: 169.9 MB / 1.279 GB, free: 11.75 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2): time 0.008/0.8322, allocations: 5.303 MB / 1.284 GB, free: 7.977 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.1899/1.022, allocations: 154 MB / 1.435 GB, free: 12.62 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001242/1.023, allocations: 27.81 kB / 1.435 GB, free: 12.59 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.0007329/1.024, allocations: 202.1 kB / 1.435 GB, free: 12.39 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.002185/1.026, allocations: 0.5909 MB / 1.435 GB, free: 11.8 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.002329/1.029, allocations: 0.8597 MB / 1.436 GB, free: 10.95 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.00195/1.031, allocations: 1.478 MB / 1.438 GB, free: 9.461 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009445/1.031, allocations: 446.2 kB / 1.438 GB, free: 9 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009811/1.032, allocations: 0.5255 MB / 1.439 GB, free: 8.473 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009788/1.033, allocations: 0.5329 MB / 1.439 GB, free: 7.938 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.000309/1.034, allocations: 124 kB / 1.439 GB, free: 7.816 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001357/1.035, allocations: 0.5113 MB / 1.44 GB, free: 7.305 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0004089/1.035, allocations: 314.9 kB / 1.44 GB, free: 6.996 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0008751/1.036, allocations: 0.5985 MB / 1.441 GB, free: 6.395 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.003465/1.04, allocations: 1.747 MB / 1.442 GB, free: 4.641 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/1.04, allocations: 4 kB / 1.442 GB, free: 4.637 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.573e-06/1.04, allocations: 0 / 1.442 GB, free: 4.637 MB / 1.123 GB Notification: Performance of Transformations before backend: time 6.206e-05/1.04, allocations: 0 / 1.442 GB, free: 4.637 MB / 1.123 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 224 * Number of variables: 224 Notification: Performance of Generate backend data structure: time 0.00341/1.043, allocations: 1.546 MB / 1.444 GB, free: 3.039 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.902e-05/1.043, allocations: 16.02 kB / 1.444 GB, free: 3.023 MB / 1.123 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.074e-05/1.043, allocations: 26.19 kB / 1.444 GB, free: 2.996 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001743/1.044, allocations: 139.7 kB / 1.444 GB, free: 2.852 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00151/1.045, allocations: 243.9 kB / 1.444 GB, free: 2.613 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001291/1.046, allocations: 0.8055 MB / 1.445 GB, free: 1.766 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.132e-05/1.046, allocations: 66 kB / 1.445 GB, free: 1.703 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001232/1.047, allocations: 84 kB / 1.445 GB, free: 1.621 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001654/1.048, allocations: 0.9535 MB / 1.446 GB, free: 0.625 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.161e-05/1.048, allocations: 0 / 1.446 GB, free: 0.625 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.835e-05/1.048, allocations: 36 kB / 1.446 GB, free: 0.5898 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.349e-05/1.048, allocations: 27.94 kB / 1.446 GB, free: 0.5625 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001908/1.05, allocations: 1.132 MB / 1.447 GB, free: 15.43 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.004441/1.055, allocations: 2.822 MB / 1.45 GB, free: 12.49 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001662/1.056, allocations: 0.7914 MB / 1.451 GB, free: 11.69 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005826/1.057, allocations: 296.8 kB / 1.451 GB, free: 11.4 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 9.675e-05/1.057, allocations: 36.61 kB / 1.451 GB, free: 11.36 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009358/1.058, allocations: 0.5081 MB / 1.452 GB, free: 10.84 MB / 1.139 GB Notification: Performance of pre-optimization done (n=85): time 2.534e-06/1.058, allocations: 0 / 1.452 GB, free: 10.84 MB / 1.139 GB Notification: Performance of matching and sorting (n=85): time 0.003488/1.061, allocations: 1.259 MB / 1.453 GB, free: 9.559 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000125/1.062, allocations: 188.9 kB / 1.453 GB, free: 9.328 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009686/1.063, allocations: 0.6841 MB / 1.454 GB, free: 8.641 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 8.58e-05/1.063, allocations: 41.7 kB / 1.454 GB, free: 8.594 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003762/1.063, allocations: 425.1 kB / 1.454 GB, free: 8.172 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002621/1.063, allocations: 289.5 kB / 1.454 GB, free: 7.887 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002499/1.064, allocations: 154.6 kB / 1.455 GB, free: 7.73 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0002071/1.064, allocations: 394.7 kB / 1.455 GB, free: 7.336 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005383/1.064, allocations: 253.9 kB / 1.455 GB, free: 7.09 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006805/1.065, allocations: 374.5 kB / 1.456 GB, free: 6.695 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001162/1.066, allocations: 0.6008 MB / 1.456 GB, free: 6.086 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.868e-06/1.066, allocations: 0 / 1.456 GB, free: 6.086 MB / 1.139 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.002124/1.068, allocations: 0.8452 MB / 1.457 GB, free: 5.227 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.693e-05/1.068, allocations: 4.094 kB / 1.457 GB, free: 5.223 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.716e-06/1.068, allocations: 8 kB / 1.457 GB, free: 5.215 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006594/1.069, allocations: 80.77 kB / 1.457 GB, free: 5.133 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006957/1.07, allocations: 167.7 kB / 1.457 GB, free: 4.969 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002453/1.072, allocations: 1.626 MB / 1.459 GB, free: 3.199 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008455/1.073, allocations: 93.5 kB / 1.459 GB, free: 3.109 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.357e-05/1.073, allocations: 35.97 kB / 1.459 GB, free: 3.074 MB / 1.139 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (92): * Single equations (assignments): 91 * 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.0005359/1.074, allocations: 272 kB / 1.459 GB, free: 2.801 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002309/1.074, allocations: 87.44 kB / 1.459 GB, free: 2.715 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002698/1.076, allocations: 1.102 MB / 1.46 GB, free: 1.598 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.564e-05/1.077, allocations: 16 kB / 1.46 GB, free: 1.582 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/1.077, allocations: 0 / 1.46 GB, free: 1.582 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.273e-05/1.077, allocations: 11.91 kB / 1.46 GB, free: 1.57 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001425/1.078, allocations: 0.9426 MB / 1.461 GB, free: 0.5781 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/1.078, allocations: 0 / 1.461 GB, free: 0.5781 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006846/1.079, allocations: 159.7 kB / 1.461 GB, free: 432 kB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004736/1.079, allocations: 72.78 kB / 1.461 GB, free: 356 kB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.996e-05/1.079, allocations: 27.97 kB / 1.461 GB, free: 328 kB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002202/1.081, allocations: 1.65 MB / 1.463 GB, free: 14.52 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/1.081, allocations: 7.875 kB / 1.463 GB, free: 14.52 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003103/1.084, allocations: 1.375 MB / 1.464 GB, free: 13.12 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006116/1.085, allocations: 288.1 kB / 1.465 GB, free: 12.82 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001669/1.085, allocations: 16 kB / 1.465 GB, free: 12.8 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007301/1.086, allocations: 76.05 kB / 1.465 GB, free: 12.73 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002343/1.086, allocations: 68.91 kB / 1.465 GB, free: 12.66 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.181e-05/1.086, allocations: 39.97 kB / 1.465 GB, free: 12.62 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0007869/1.087, allocations: 487 kB / 1.465 GB, free: 12.16 MB / 1.154 GB Notification: Performance of sort global known variables: time 9e-08/1.087, allocations: 4 kB / 1.465 GB, free: 12.15 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.001095/1.088, allocations: 335.1 kB / 1.466 GB, free: 11.82 MB / 1.154 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (walCap.T) * 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 (96): * Single equations (assignments): 90 * 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.005569/1.094, allocations: 2.418 MB / 1.468 GB, free: 9.555 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.002113/1.096, allocations: 0.8001 MB / 1.469 GB, free: 8.738 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 5.59e-06/1.096, allocations: 0 / 1.469 GB, free: 8.738 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.001059/1.097, allocations: 0.5002 MB / 1.469 GB, free: 8.227 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001655/1.099, allocations: 304.8 kB / 1.47 GB, free: 7.949 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01374/1.112, allocations: 6.621 MB / 1.476 GB, free: 1.176 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008119/1.113, allocations: 1.047 MB / 1.477 GB, free: 108 kB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.0009635/1.114, allocations: 271 kB / 1.477 GB, free: 15.84 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006865/1.115, allocations: 415.2 kB / 1.478 GB, free: 15.43 MB / 1.17 GB Notification: Performance of SimCode: time 9.82e-07/1.115, allocations: 4 kB / 1.478 GB, free: 15.43 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0625/1.177, allocations: 22.69 MB / 1.5 GB, free: 9 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.9/15.07, allocations: 12.59 kB / 1.5 GB, free: 8.988 MB / 1.186 GB " [Timeout remaining time 285] (rm -f Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe ; mkfifo Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe ; head -c 1048576 < Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe >> ../files/Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2_res.mat --tempDir=temp_Buildings_11_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse2_fmu --startTime=0 --stopTime=1e+06 --stepSize=400 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse2.fmu > Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.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: 21.46623310999712]