Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.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.001872/0.001872, allocations: 107.3 kB / 16.45 MB, free: 6.035 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.002008/0.002008, allocations: 191.8 kB / 19.41 MB, free: 3.539 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.397/1.397, allocations: 225.6 MB / 247.8 MB, free: 13.94 MB / 206.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 3.057/3.057, allocations: 497.2 MB / 0.7811 GB, free: 33.64 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.SimpleHouse1,fileNamePrefix="Buildings_latest_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1,fileNamePrefix="Buildings_latest_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002474/0.002474, allocations: 64.39 kB / 1.134 GB, free: 33.73 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3078/0.3103, allocations: 173.9 MB / 1.304 GB, free: 1.512 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1): time 0.007089/0.3173, allocations: 5.148 MB / 1.309 GB, free: 12.33 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.1715/0.4889, allocations: 151.1 MB / 1.457 GB, free: 4.656 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001123/0.49, allocations: 19.88 kB / 1.457 GB, free: 4.637 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0008356/0.4909, allocations: 206.1 kB / 1.457 GB, free: 4.434 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.0022/0.4931, allocations: 0.5668 MB / 1.457 GB, free: 3.867 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.00221/0.4953, allocations: 0.8436 MB / 1.458 GB, free: 3.027 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.001975/0.4972, allocations: 1.416 MB / 1.459 GB, free: 1.605 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007991/0.498, allocations: 425.6 kB / 1.46 GB, free: 1.164 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007432/0.4988, allocations: 0.4944 MB / 1.46 GB, free: 0.668 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006469/0.4994, allocations: 0.5134 MB / 1.461 GB, free: 156 kB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0001665/0.4996, allocations: 120 kB / 1.461 GB, free: 36 kB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009947/0.5006, allocations: 491.5 kB / 1.461 GB, free: 15.55 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.00029/0.5009, allocations: 303 kB / 1.462 GB, free: 15.26 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0005594/0.5014, allocations: 0.5713 MB / 1.462 GB, free: 14.68 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.002213/0.5036, allocations: 1.669 MB / 1.464 GB, free: 13.01 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/0.5037, allocations: 0 / 1.464 GB, free: 13.01 MB / 1.17 GB Notification: Performance of FrontEnd: time 2.003e-06/0.5037, allocations: 4 kB / 1.464 GB, free: 13 MB / 1.17 GB Notification: Performance of Transformations before backend: time 2.673e-05/0.5037, allocations: 0 / 1.464 GB, free: 13 MB / 1.17 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.002888/0.5066, allocations: 1.503 MB / 1.465 GB, free: 11.45 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.818e-05/0.5066, allocations: 16.56 kB / 1.465 GB, free: 11.43 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001706/0.5068, allocations: 139.6 kB / 1.466 GB, free: 11.29 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000935/0.5077, allocations: 196 kB / 1.466 GB, free: 11.1 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001352/0.5091, allocations: 0.7862 MB / 1.467 GB, free: 10.27 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.281e-05/0.5091, allocations: 69.94 kB / 1.467 GB, free: 10.2 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001254/0.5093, allocations: 84 kB / 1.467 GB, free: 10.12 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001579/0.5108, allocations: 0.934 MB / 1.468 GB, free: 9.145 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.484e-05/0.5109, allocations: 0 / 1.468 GB, free: 9.145 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.525e-05/0.511, allocations: 36 kB / 1.468 GB, free: 9.109 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.856e-05/0.511, allocations: 24 kB / 1.468 GB, free: 9.086 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001827/0.5128, allocations: 1.12 MB / 1.469 GB, free: 7.961 MB / 1.17 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.004363/0.5172, allocations: 2.827 MB / 1.471 GB, free: 4.996 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001466/0.5186, allocations: 0.765 MB / 1.472 GB, free: 4.23 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005249/0.5192, allocations: 282.7 kB / 1.473 GB, free: 3.949 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 7.643e-05/0.5192, allocations: 36.59 kB / 1.473 GB, free: 3.914 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008605/0.5201, allocations: 497.1 kB / 1.473 GB, free: 3.41 MB / 1.17 GB Notification: Performance of pre-optimization done (n=82): time 5.961e-06/0.5201, allocations: 11.92 kB / 1.473 GB, free: 3.398 MB / 1.17 GB Notification: Performance of matching and sorting (n=82): time 0.003205/0.5233, allocations: 1.21 MB / 1.474 GB, free: 2.164 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001254/0.5234, allocations: 196.6 kB / 1.474 GB, free: 1.93 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009128/0.5243, allocations: 0.6372 MB / 1.475 GB, free: 1.285 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 0.000101/0.5244, allocations: 41.7 kB / 1.475 GB, free: 1.238 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003636/0.5248, allocations: 413 kB / 1.475 GB, free: 0.8281 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002551/0.5251, allocations: 285.6 kB / 1.476 GB, free: 0.5469 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002293/0.5253, allocations: 142.6 kB / 1.476 GB, free: 412 kB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001867/0.5255, allocations: 390.7 kB / 1.476 GB, free: 12 kB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005145/0.526, allocations: 249.9 kB / 1.476 GB, free: 15.77 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006572/0.5266, allocations: 366.5 kB / 1.477 GB, free: 15.38 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001105/0.5278, allocations: 0.5916 MB / 1.477 GB, free: 14.78 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.967e-06/0.5278, allocations: 0 / 1.477 GB, free: 14.78 MB / 1.186 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001915/0.5297, allocations: 0.8179 MB / 1.478 GB, free: 13.95 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.003e-05/0.5297, allocations: 4 kB / 1.478 GB, free: 13.95 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.5297, allocations: 64 / 1.478 GB, free: 13.95 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005953/0.5303, allocations: 88.81 kB / 1.478 GB, free: 13.86 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006607/0.531, allocations: 159.8 kB / 1.478 GB, free: 13.7 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002269/0.5332, allocations: 1.631 MB / 1.48 GB, free: 11.93 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007162/0.5339, allocations: 97.7 kB / 1.48 GB, free: 11.84 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.591e-05/0.534, allocations: 27.98 kB / 1.48 GB, free: 11.81 MB / 1.186 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.0004544/0.5345, allocations: 273.8 kB / 1.48 GB, free: 11.53 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001801/0.5346, allocations: 91.42 kB / 1.481 GB, free: 11.44 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002394/0.537, allocations: 1.066 MB / 1.482 GB, free: 10.36 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.798e-06/0.537, allocations: 8 kB / 1.482 GB, free: 10.36 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.537, allocations: 0 / 1.482 GB, free: 10.36 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.939e-06/0.5371, allocations: 7.984 kB / 1.482 GB, free: 10.35 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001209/0.5383, allocations: 0.9229 MB / 1.482 GB, free: 9.375 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.947e-06/0.5383, allocations: 0 / 1.482 GB, free: 9.375 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006268/0.5389, allocations: 155.7 kB / 1.483 GB, free: 9.223 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004492/0.5393, allocations: 80.72 kB / 1.483 GB, free: 9.141 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.16e-05/0.5394, allocations: 27.98 kB / 1.483 GB, free: 9.113 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00198/0.5414, allocations: 1.65 MB / 1.484 GB, free: 7.32 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.5414, allocations: 8.016 kB / 1.484 GB, free: 7.312 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002713/0.5441, allocations: 1.34 MB / 1.486 GB, free: 5.949 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004516/0.5446, allocations: 276.2 kB / 1.486 GB, free: 5.66 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001278/0.5447, allocations: 31.92 kB / 1.486 GB, free: 5.629 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000601/0.5453, allocations: 66.11 kB / 1.486 GB, free: 5.566 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000149/0.5454, allocations: 68.89 kB / 1.486 GB, free: 5.5 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.94e-05/0.5455, allocations: 35.98 kB / 1.486 GB, free: 5.465 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0005914/0.5461, allocations: 463 kB / 1.487 GB, free: 5.016 MB / 1.186 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5461, allocations: 4 kB / 1.487 GB, free: 5.012 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.000814/0.5469, allocations: 327.2 kB / 1.487 GB, free: 4.691 MB / 1.186 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.004735/0.5516, allocations: 2.383 MB / 1.489 GB, free: 2.461 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.001773/0.5534, allocations: 0.7806 MB / 1.49 GB, free: 1.672 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 8.556e-06/0.5534, allocations: 3.984 kB / 1.49 GB, free: 1.668 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.001127/0.5546, allocations: 0.4962 MB / 1.49 GB, free: 1.16 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001231/0.5558, allocations: 300.3 kB / 1.491 GB, free: 0.8906 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01089/0.5667, allocations: 6.382 MB / 1.497 GB, free: 10.35 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007026/0.5674, allocations: 1.033 MB / 1.498 GB, free: 9.285 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0008528/0.5682, allocations: 270.7 kB / 1.498 GB, free: 9.016 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005549/0.5688, allocations: 395.3 kB / 1.499 GB, free: 8.629 MB / 1.201 GB Notification: Performance of SimCode: time 9.12e-07/0.5688, allocations: 0 / 1.499 GB, free: 8.629 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08447/0.6533, allocations: 22.06 MB / 1.52 GB, free: 2.82 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.81/14.46, allocations: 2.062 kB / 1.52 GB, free: 2.82 MB / 1.217 GB " [Timeout remaining time 285] (rm -f Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe ; mkfifo Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe >> ../files/Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1_res.mat --tempDir=temp_Buildings_latest_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse1_fmu --startTime=0 --stopTime=1e+06 --stepSize=400 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse1.fmu > Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_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: 20.942236761096865]