Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001864/0.001864, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.002341/0.002341, allocations: 217 kB / 23.04 MB, free: 5.074 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.547/1.547, allocations: 230.6 MB / 256.8 MB, free: 7.996 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.411/3.411, allocations: 0.5002 GB / 0.8061 GB, free: 26.79 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse3",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3,fileNamePrefix="Buildings_latest_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.002058/0.002058, allocations: 65.86 kB / 1.171 GB, free: 19.81 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4328/0.4348, allocations: 179 MB / 1.345 GB, free: 480 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3): time 0.2226/0.6574, allocations: 169.7 MB / 1.511 GB, free: 6.102 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.01453/0.672, allocations: 8.073 MB / 1.519 GB, free: 14 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001769/0.6737, allocations: 43.62 kB / 1.519 GB, free: 13.96 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.00175/0.6755, allocations: 412.9 kB / 1.519 GB, free: 13.55 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.005079/0.6806, allocations: 1.383 MB / 1.521 GB, free: 12.17 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.00414/0.6847, allocations: 1.214 MB / 1.522 GB, free: 10.96 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.004791/0.6895, allocations: 2.422 MB / 1.524 GB, free: 8.531 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002357/0.6919, allocations: 0.9761 MB / 1.525 GB, free: 7.539 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002288/0.6941, allocations: 0.903 MB / 1.526 GB, free: 6.633 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002469/0.6966, allocations: 0.8253 MB / 1.527 GB, free: 5.809 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.0006441/0.6973, allocations: 156 kB / 1.527 GB, free: 5.656 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003551/0.7008, allocations: 1.209 MB / 1.528 GB, free: 4.445 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.0008727/0.7017, allocations: 442.6 kB / 1.529 GB, free: 4.012 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.001776/0.7035, allocations: 0.7929 MB / 1.529 GB, free: 3.215 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.005558/0.709, allocations: 2.46 MB / 1.532 GB, free: 0.7461 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 6.793e-06/0.709, allocations: 8 kB / 1.532 GB, free: 0.7383 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.763e-06/0.709, allocations: 0 / 1.532 GB, free: 0.7383 MB / 1.217 GB Notification: Performance of Transformations before backend: time 9.893e-05/0.7091, allocations: 0 / 1.532 GB, free: 0.7383 MB / 1.217 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.005826/0.7149, allocations: 1.891 MB / 1.534 GB, free: 14.8 MB / 1.232 GB Notification: Performance of prepare preOptimizeDAE: time 5.929e-05/0.715, allocations: 8.031 kB / 1.534 GB, free: 14.79 MB / 1.232 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 6.27e-05/0.7151, allocations: 34.14 kB / 1.534 GB, free: 14.75 MB / 1.232 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004247/0.7155, allocations: 164.9 kB / 1.534 GB, free: 14.58 MB / 1.232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002904/0.7184, allocations: 378.6 kB / 1.534 GB, free: 14.21 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002648/0.721, allocations: 0.9591 MB / 1.535 GB, free: 13.22 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001152/0.7212, allocations: 82.2 kB / 1.535 GB, free: 13.14 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002838/0.7214, allocations: 108 kB / 1.535 GB, free: 13.03 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002722/0.7242, allocations: 1.18 MB / 1.537 GB, free: 11.78 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.539e-05/0.7242, allocations: 4 kB / 1.537 GB, free: 11.78 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001453/0.7243, allocations: 47.94 kB / 1.537 GB, free: 11.73 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.491e-05/0.7244, allocations: 42.11 kB / 1.537 GB, free: 11.69 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002606/0.727, allocations: 1.304 MB / 1.538 GB, free: 10.38 MB / 1.232 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.007646/0.7347, allocations: 3.833 MB / 1.542 GB, free: 6.316 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002118/0.7368, allocations: 0.9418 MB / 1.543 GB, free: 5.371 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007927/0.7376, allocations: 363.6 kB / 1.543 GB, free: 5.012 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001021/0.7377, allocations: 37.02 kB / 1.543 GB, free: 4.977 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001311/0.739, allocations: 0.5954 MB / 1.544 GB, free: 4.363 MB / 1.232 GB Notification: Performance of pre-optimization done (n=102): time 5.34e-06/0.739, allocations: 0 / 1.544 GB, free: 4.363 MB / 1.232 GB Notification: Performance of matching and sorting (n=102): time 0.00458/0.7436, allocations: 1.371 MB / 1.545 GB, free: 2.984 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001899/0.7438, allocations: 192.9 kB / 1.545 GB, free: 2.75 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001978/0.7457, allocations: 0.8586 MB / 1.546 GB, free: 1.867 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 0.0002127/0.7459, allocations: 53.64 kB / 1.546 GB, free: 1.809 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007273/0.7467, allocations: 0.5401 MB / 1.546 GB, free: 1.262 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005811/0.7472, allocations: 353 kB / 1.547 GB, free: 0.9141 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004831/0.7477, allocations: 178.6 kB / 1.547 GB, free: 0.7344 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0002043/0.7479, allocations: 349.9 kB / 1.547 GB, free: 396 kB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007825/0.7487, allocations: 317.8 kB / 1.548 GB, free: 80 kB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009243/0.7496, allocations: 475.7 kB / 1.548 GB, free: 15.56 MB / 1.248 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001513/0.7512, allocations: 0.7737 MB / 1.549 GB, free: 14.76 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.602e-06/0.7512, allocations: 0 / 1.549 GB, free: 14.76 MB / 1.248 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002744/0.7539, allocations: 1.036 MB / 1.55 GB, free: 13.72 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 3.163e-05/0.7539, allocations: 7.984 kB / 1.55 GB, free: 13.71 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.219e-05/0.754, allocations: 4 kB / 1.55 GB, free: 13.71 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006372/0.7546, allocations: 84.84 kB / 1.55 GB, free: 13.62 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008895/0.7555, allocations: 211.7 kB / 1.55 GB, free: 13.41 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002368/0.7578, allocations: 1.531 MB / 1.552 GB, free: 11.77 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001268/0.7591, allocations: 113.9 kB / 1.552 GB, free: 11.66 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001129/0.7592, allocations: 39.98 kB / 1.552 GB, free: 11.62 MB / 1.248 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.0007789/0.76, allocations: 313.7 kB / 1.552 GB, free: 11.3 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003195/0.7603, allocations: 127.4 kB / 1.552 GB, free: 11.18 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002896/0.7632, allocations: 1.241 MB / 1.553 GB, free: 9.918 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.156e-05/0.7632, allocations: 12 kB / 1.553 GB, free: 9.906 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.324e-06/0.7632, allocations: 4 kB / 1.553 GB, free: 9.902 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.933e-05/0.7633, allocations: 11.97 kB / 1.553 GB, free: 9.891 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001991/0.7653, allocations: 1.157 MB / 1.555 GB, free: 8.691 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.02e-06/0.7653, allocations: 0 / 1.555 GB, free: 8.691 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009234/0.7662, allocations: 203.8 kB / 1.555 GB, free: 8.492 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004649/0.7666, allocations: 80.72 kB / 1.555 GB, free: 8.41 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001066/0.7668, allocations: 27.98 kB / 1.555 GB, free: 8.383 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002154/0.7689, allocations: 1.559 MB / 1.556 GB, free: 6.707 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.7689, allocations: 0 / 1.556 GB, free: 6.707 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003611/0.7725, allocations: 1.586 MB / 1.558 GB, free: 5.098 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008185/0.7733, allocations: 250.8 kB / 1.558 GB, free: 4.852 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002074/0.7735, allocations: 27.98 kB / 1.558 GB, free: 4.824 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008633/0.7744, allocations: 70.19 kB / 1.558 GB, free: 4.758 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002113/0.7746, allocations: 88.83 kB / 1.558 GB, free: 4.672 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.192e-05/0.7747, allocations: 39.98 kB / 1.558 GB, free: 4.633 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.0009456/0.7757, allocations: 0.6022 MB / 1.559 GB, free: 4.02 MB / 1.248 GB Notification: Performance of sort global known variables: time 1e-07/0.7757, allocations: 0 / 1.559 GB, free: 4.02 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.001307/0.777, allocations: 427 kB / 1.559 GB, free: 3.602 MB / 1.248 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.005832/0.7828, allocations: 2.68 MB / 1.562 GB, free: 1.078 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.002259/0.7851, allocations: 0.9214 MB / 1.563 GB, free: 148 kB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 7.053e-06/0.7851, allocations: 4.062 kB / 1.563 GB, free: 144 kB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.001154/0.7862, allocations: 0.5626 MB / 1.563 GB, free: 15.56 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002424/0.7886, allocations: 494.4 kB / 1.564 GB, free: 15.1 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01684/0.8055, allocations: 8.331 MB / 1.572 GB, free: 6.59 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009737/0.8065, allocations: 1.162 MB / 1.573 GB, free: 5.402 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.001404/0.8079, allocations: 337.2 kB / 1.574 GB, free: 5.07 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009772/0.8088, allocations: 0.5188 MB / 1.574 GB, free: 4.551 MB / 1.264 GB Notification: Performance of SimCode: time 1.082e-06/0.8088, allocations: 0 / 1.574 GB, free: 4.551 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08154/0.8904, allocations: 30.77 MB / 1.604 GB, free: 6.035 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.34/17.23, allocations: 8.062 kB / 1.604 GB, free: 6.027 MB / 1.295 GB " [Timeout remaining time 282] (rm -f Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe ; mkfifo Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe >> ../files/Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3_res.mat --tempDir=temp_Buildings_latest_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse3_fmu --startTime=0 --stopTime=1e+06 --stepSize=400 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse3.fmu > Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 25.608475017012097]