Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.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.001621/0.001621, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.002385/0.002385, allocations: 213.1 kB / 22.25 MB, free: 5.242 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.461/1.461, allocations: 230.6 MB / 256 MB, free: 7.797 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.733/2.733, allocations: 476 MB / 0.7699 GB, free: 4.77 MB / 0.6231 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.SimpleHouse1,fileNamePrefix="Buildings_11_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1,fileNamePrefix="Buildings_11_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse1",fmuType="me",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.002264/0.002264, allocations: 66.55 kB / 1.117 GB, free: 41.06 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2965/0.2988, allocations: 170 MB / 1.283 GB, free: 12.46 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1): time 0.007214/0.306, allocations: 4.658 MB / 1.287 GB, free: 7.793 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.1625/0.4685, allocations: 132.7 MB / 1.417 GB, free: 2.57 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009271/0.4694, allocations: 23.81 kB / 1.417 GB, free: 2.547 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.0007936/0.4702, allocations: 202.1 kB / 1.417 GB, free: 2.348 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.002337/0.4726, allocations: 0.5885 MB / 1.417 GB, free: 1.762 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.002283/0.4749, allocations: 0.8678 MB / 1.418 GB, free: 0.8984 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.002125/0.477, allocations: 1.455 MB / 1.42 GB, free: 15.44 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009306/0.4779, allocations: 402.2 kB / 1.42 GB, free: 15.02 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009384/0.4788, allocations: 0.5139 MB / 1.421 GB, free: 14.5 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008764/0.4797, allocations: 481.7 kB / 1.421 GB, free: 14.03 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0003086/0.48, allocations: 120 kB / 1.421 GB, free: 13.91 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001181/0.4812, allocations: 0.4918 MB / 1.422 GB, free: 13.42 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0004248/0.4816, allocations: 307 kB / 1.422 GB, free: 13.12 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0007961/0.4824, allocations: 481.7 kB / 1.422 GB, free: 12.65 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.002985/0.4854, allocations: 1.725 MB / 1.424 GB, free: 10.92 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/0.4854, allocations: 4 kB / 1.424 GB, free: 10.91 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.884e-06/0.4854, allocations: 0 / 1.424 GB, free: 10.91 MB / 1.123 GB Notification: Performance of Transformations before backend: time 6.086e-05/0.4855, allocations: 0 / 1.424 GB, free: 10.91 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: 219 * Number of variables: 219 Notification: Performance of Generate backend data structure: time 0.003577/0.4891, allocations: 1.455 MB / 1.426 GB, free: 9.426 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 5.49e-05/0.4891, allocations: 8.031 kB / 1.426 GB, free: 9.418 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002707/0.4894, allocations: 139.6 kB / 1.426 GB, free: 9.273 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001637/0.491, allocations: 239.9 kB / 1.426 GB, free: 9.039 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001582/0.4926, allocations: 0.7219 MB / 1.427 GB, free: 8.289 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.877e-05/0.4927, allocations: 65.94 kB / 1.427 GB, free: 8.223 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001614/0.4928, allocations: 87.94 kB / 1.427 GB, free: 8.137 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002066/0.4949, allocations: 1.193 MB / 1.428 GB, free: 6.844 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.997e-05/0.4949, allocations: 0 / 1.428 GB, free: 6.844 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001224/0.4951, allocations: 36 kB / 1.428 GB, free: 6.809 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.306e-05/0.4951, allocations: 24 kB / 1.428 GB, free: 6.785 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002059/0.4972, allocations: 1.077 MB / 1.429 GB, free: 5.707 MB / 1.123 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.004773/0.5019, allocations: 2.267 MB / 1.431 GB, free: 3.375 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001698/0.5036, allocations: 0.7583 MB / 1.432 GB, free: 2.605 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006683/0.5043, allocations: 278.7 kB / 1.432 GB, free: 2.328 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 9.445e-05/0.5044, allocations: 28.64 kB / 1.432 GB, free: 2.301 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001042/0.5054, allocations: 0.5897 MB / 1.433 GB, free: 1.672 MB / 1.123 GB Notification: Performance of pre-optimization done (n=82): time 2.745e-06/0.5054, allocations: 0 / 1.433 GB, free: 1.672 MB / 1.123 GB Notification: Performance of matching and sorting (n=82): time 0.003388/0.5088, allocations: 1.142 MB / 1.434 GB, free: 0.5195 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001233/0.5089, allocations: 192.6 kB / 1.434 GB, free: 296 kB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001018/0.51, allocations: 0.6685 MB / 1.435 GB, free: 15.61 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 9.469e-05/0.5101, allocations: 41.7 kB / 1.435 GB, free: 15.56 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003924/0.5105, allocations: 421 kB / 1.435 GB, free: 15.14 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002628/0.5107, allocations: 277.6 kB / 1.436 GB, free: 14.87 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002535/0.511, allocations: 158.6 kB / 1.436 GB, free: 14.71 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001999/0.5112, allocations: 382.8 kB / 1.436 GB, free: 14.32 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005597/0.5117, allocations: 257.8 kB / 1.436 GB, free: 14.07 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007137/0.5124, allocations: 491 kB / 1.437 GB, free: 13.54 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001154/0.5136, allocations: 0.5955 MB / 1.437 GB, free: 12.93 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.828e-06/0.5136, allocations: 0 / 1.437 GB, free: 12.93 MB / 1.139 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.002087/0.5157, allocations: 0.8179 MB / 1.438 GB, free: 12.1 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.028e-05/0.5157, allocations: 4 kB / 1.438 GB, free: 12.1 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.715e-06/0.5157, allocations: 4 kB / 1.438 GB, free: 12.09 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006075/0.5163, allocations: 88.84 kB / 1.438 GB, free: 12 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006489/0.517, allocations: 159.7 kB / 1.438 GB, free: 11.85 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002309/0.5193, allocations: 1.512 MB / 1.44 GB, free: 10.21 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007539/0.52, allocations: 96.17 kB / 1.44 GB, free: 10.12 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.716e-05/0.5201, allocations: 36.05 kB / 1.44 GB, free: 10.09 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 (89): * Single equations (assignments): 88 * 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.0005118/0.5206, allocations: 265.8 kB / 1.44 GB, free: 9.82 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002514/0.5209, allocations: 99.38 kB / 1.44 GB, free: 9.723 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002568/0.5235, allocations: 1.07 MB / 1.441 GB, free: 8.641 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.085e-05/0.5235, allocations: 8 kB / 1.441 GB, free: 8.633 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/0.5235, allocations: 0 / 1.441 GB, free: 8.633 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.573e-05/0.5235, allocations: 7.984 kB / 1.441 GB, free: 8.625 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001206/0.5247, allocations: 0.7663 MB / 1.442 GB, free: 7.816 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.933e-06/0.5247, allocations: 4 kB / 1.442 GB, free: 7.812 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006431/0.5253, allocations: 151.7 kB / 1.442 GB, free: 7.664 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004644/0.5258, allocations: 80.66 kB / 1.442 GB, free: 7.582 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.752e-05/0.5259, allocations: 23.98 kB / 1.442 GB, free: 7.559 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002028/0.5279, allocations: 1.555 MB / 1.444 GB, free: 5.879 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/0.5279, allocations: 0 / 1.444 GB, free: 5.879 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002922/0.5308, allocations: 1.34 MB / 1.445 GB, free: 4.52 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005521/0.5314, allocations: 211 kB / 1.445 GB, free: 4.312 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001636/0.5315, allocations: 28 kB / 1.445 GB, free: 4.285 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006572/0.5322, allocations: 59.94 kB / 1.446 GB, free: 4.227 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001697/0.5324, allocations: 72.86 kB / 1.446 GB, free: 4.156 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.679e-05/0.5325, allocations: 35.97 kB / 1.446 GB, free: 4.121 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0006999/0.5332, allocations: 491 kB / 1.446 GB, free: 3.645 MB / 1.139 GB Notification: Performance of sort global known variables: time 1e-07/0.5332, allocations: 0 / 1.446 GB, free: 3.645 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0009048/0.5341, allocations: 335.1 kB / 1.446 GB, free: 3.316 MB / 1.139 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 (93): * Single equations (assignments): 87 * 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.005224/0.5393, allocations: 2.427 MB / 1.449 GB, free: 1.07 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.001786/0.5411, allocations: 0.7765 MB / 1.45 GB, free: 284 kB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/0.5411, allocations: 4.188 kB / 1.45 GB, free: 280 kB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0009999/0.5421, allocations: 0.4884 MB / 1.45 GB, free: 15.77 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001376/0.5434, allocations: 309.3 kB / 1.45 GB, free: 15.5 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01167/0.5551, allocations: 6.447 MB / 1.457 GB, free: 8.898 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005357/0.5556, allocations: 458.5 kB / 1.457 GB, free: 8.422 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.0008974/0.5565, allocations: 270.8 kB / 1.457 GB, free: 8.152 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000652/0.5572, allocations: 403.3 kB / 1.458 GB, free: 7.758 MB / 1.154 GB Notification: Performance of SimCode: time 1.072e-06/0.5572, allocations: 0 / 1.458 GB, free: 7.758 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07225/0.6295, allocations: 23.9 MB / 1.481 GB, free: 176 kB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.02/14.65, allocations: 6.156 kB / 1.481 GB, free: 176 kB / 1.17 GB " [Timeout remaining time 285] (rm -f Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe ; mkfifo Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe ; head -c 1048576 < Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe >> ../files/Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1_res.mat --tempDir=temp_Buildings_11_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse1_fmu --startTime=0 --stopTime=1e+06 --stepSize=400 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse1.fmu > Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.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.23146428586915]