Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001559/0.001559, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.001652/0.001652, allocations: 221.7 kB / 23.05 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.53/1.53, allocations: 230.6 MB / 256.8 MB, free: 8.012 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.241/3.241, allocations: 0.49 GB / 0.7959 GB, free: 33.51 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse3",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3,fileNamePrefix="Buildings_12_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.002077/0.002077, allocations: 60.72 kB / 1.155 GB, free: 25.69 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.365/0.3671, allocations: 176.1 MB / 1.327 GB, free: 1.934 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3): time 0.218/0.5851, allocations: 169.7 MB / 1.492 GB, free: 7.566 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.01447/0.5996, allocations: 8.069 MB / 1.5 GB, free: 15.48 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002283/0.6019, allocations: 43.62 kB / 1.5 GB, free: 15.43 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.00164/0.6035, allocations: 416.9 kB / 1.501 GB, free: 15.02 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.004705/0.6082, allocations: 1.385 MB / 1.502 GB, free: 13.64 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.003622/0.6118, allocations: 1.217 MB / 1.503 GB, free: 12.43 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.004358/0.6162, allocations: 2.422 MB / 1.506 GB, free: 9.996 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002085/0.6183, allocations: 0.977 MB / 1.507 GB, free: 9 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002151/0.6204, allocations: 0.9069 MB / 1.507 GB, free: 8.09 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002384/0.6228, allocations: 0.8225 MB / 1.508 GB, free: 7.266 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0006184/0.6234, allocations: 156 kB / 1.508 GB, free: 7.113 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003524/0.627, allocations: 1.205 MB / 1.51 GB, free: 5.906 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0008175/0.6278, allocations: 446.6 kB / 1.51 GB, free: 5.469 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0014/0.6292, allocations: 0.789 MB / 1.511 GB, free: 4.676 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.005541/0.6347, allocations: 2.464 MB / 1.513 GB, free: 2.203 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 8.707e-06/0.6347, allocations: 4 kB / 1.513 GB, free: 2.199 MB / 1.201 GB Notification: Performance of FrontEnd: time 2.475e-06/0.6347, allocations: 0 / 1.513 GB, free: 2.199 MB / 1.201 GB Notification: Performance of Transformations before backend: time 7.247e-05/0.6348, allocations: 4 kB / 1.513 GB, free: 2.195 MB / 1.201 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.005042/0.6398, allocations: 1.887 MB / 1.515 GB, free: 272 kB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 5.111e-05/0.6399, allocations: 8.031 kB / 1.515 GB, free: 264 kB / 1.201 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.539e-05/0.6399, allocations: 38.2 kB / 1.515 GB, free: 224 kB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003074/0.6403, allocations: 164.9 kB / 1.515 GB, free: 48 kB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002855/0.6431, allocations: 378.6 kB / 1.516 GB, free: 15.68 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002625/0.6457, allocations: 0.9551 MB / 1.517 GB, free: 14.68 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001035/0.6458, allocations: 82.2 kB / 1.517 GB, free: 14.6 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003092/0.6461, allocations: 108 kB / 1.517 GB, free: 14.5 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002595/0.6487, allocations: 1.181 MB / 1.518 GB, free: 13.25 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.148e-05/0.6488, allocations: 0 / 1.518 GB, free: 13.25 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001261/0.6489, allocations: 51.94 kB / 1.518 GB, free: 13.2 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.798e-05/0.649, allocations: 46.11 kB / 1.518 GB, free: 13.15 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002467/0.6514, allocations: 1.3 MB / 1.519 GB, free: 11.84 MB / 1.217 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.00743/0.6589, allocations: 3.837 MB / 1.523 GB, free: 7.777 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002047/0.6609, allocations: 0.9353 MB / 1.524 GB, free: 6.836 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007595/0.6617, allocations: 375.6 kB / 1.524 GB, free: 6.473 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 9.518e-05/0.6618, allocations: 33.02 kB / 1.524 GB, free: 6.441 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001229/0.663, allocations: 0.5903 MB / 1.525 GB, free: 5.828 MB / 1.217 GB Notification: Performance of pre-optimization done (n=102): time 3.096e-06/0.663, allocations: 0 / 1.525 GB, free: 5.828 MB / 1.217 GB Notification: Performance of matching and sorting (n=102): time 0.004209/0.6672, allocations: 1.375 MB / 1.526 GB, free: 4.449 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001398/0.6673, allocations: 200.9 kB / 1.526 GB, free: 4.207 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00141/0.6687, allocations: 0.8586 MB / 1.527 GB, free: 3.324 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 0.0001821/0.6689, allocations: 49.7 kB / 1.527 GB, free: 3.27 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.000548/0.6695, allocations: 0.5401 MB / 1.528 GB, free: 2.723 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004323/0.6699, allocations: 349 kB / 1.528 GB, free: 2.379 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003335/0.6702, allocations: 186.5 kB / 1.528 GB, free: 2.191 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001652/0.6704, allocations: 341.9 kB / 1.529 GB, free: 1.852 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007424/0.6711, allocations: 317.8 kB / 1.529 GB, free: 1.543 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008855/0.672, allocations: 475.6 kB / 1.529 GB, free: 1.031 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00153/0.6736, allocations: 0.7737 MB / 1.53 GB, free: 236 kB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.182e-06/0.6736, allocations: 0 / 1.53 GB, free: 236 kB / 1.217 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002779/0.6763, allocations: 1.029 MB / 1.531 GB, free: 15.19 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 2.71e-05/0.6764, allocations: 10.17 kB / 1.531 GB, free: 15.18 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.01e-05/0.6764, allocations: 8.219 kB / 1.531 GB, free: 15.17 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006426/0.677, allocations: 80.78 kB / 1.531 GB, free: 15.09 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000963/0.678, allocations: 211.7 kB / 1.531 GB, free: 14.88 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002427/0.6804, allocations: 1.539 MB / 1.533 GB, free: 13.23 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001245/0.6817, allocations: 107.4 kB / 1.533 GB, free: 13.12 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001432/0.6818, allocations: 40.17 kB / 1.533 GB, free: 13.08 MB / 1.232 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.0007341/0.6825, allocations: 314.1 kB / 1.533 GB, free: 12.77 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003561/0.6829, allocations: 127.2 kB / 1.534 GB, free: 12.64 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00312/0.686, allocations: 1.237 MB / 1.535 GB, free: 11.39 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.567e-05/0.686, allocations: 12 kB / 1.535 GB, free: 11.38 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.686, allocations: 7.984 kB / 1.535 GB, free: 11.37 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.769e-05/0.6861, allocations: 3.984 kB / 1.535 GB, free: 11.36 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002131/0.6882, allocations: 1.157 MB / 1.536 GB, free: 10.16 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.218e-06/0.6882, allocations: 0 / 1.536 GB, free: 10.16 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001022/0.6892, allocations: 207.7 kB / 1.536 GB, free: 9.961 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005136/0.6897, allocations: 76.78 kB / 1.536 GB, free: 9.883 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001582/0.6899, allocations: 27.98 kB / 1.536 GB, free: 9.855 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002309/0.6922, allocations: 1.567 MB / 1.538 GB, free: 8.172 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/0.6922, allocations: 0 / 1.538 GB, free: 8.172 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004137/0.6963, allocations: 1.59 MB / 1.539 GB, free: 6.559 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009294/0.6973, allocations: 254.8 kB / 1.54 GB, free: 6.309 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000348/0.6976, allocations: 27.98 kB / 1.54 GB, free: 6.281 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00111/0.6987, allocations: 65.44 kB / 1.54 GB, free: 6.219 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002532/0.699, allocations: 88.83 kB / 1.54 GB, free: 6.133 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001458/0.6991, allocations: 43.97 kB / 1.54 GB, free: 6.09 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.001187/0.7003, allocations: 0.5983 MB / 1.54 GB, free: 5.48 MB / 1.232 GB Notification: Performance of sort global known variables: time 1.81e-07/0.7003, allocations: 0 / 1.54 GB, free: 5.48 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.001756/0.7021, allocations: 427 kB / 1.541 GB, free: 5.062 MB / 1.232 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.006915/0.709, allocations: 2.667 MB / 1.543 GB, free: 2.551 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.002761/0.7117, allocations: 0.9287 MB / 1.544 GB, free: 1.605 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 5.12e-06/0.7117, allocations: 0.5625 kB / 1.544 GB, free: 1.605 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.001445/0.7132, allocations: 0.5704 MB / 1.545 GB, free: 1.023 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003029/0.7162, allocations: 0.4925 MB / 1.545 GB, free: 0.5508 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01987/0.7361, allocations: 8.316 MB / 1.553 GB, free: 8.055 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001284/0.7374, allocations: 1.158 MB / 1.555 GB, free: 6.867 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.001556/0.7389, allocations: 333.3 kB / 1.555 GB, free: 6.539 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001196/0.7401, allocations: 0.5188 MB / 1.555 GB, free: 6.02 MB / 1.248 GB Notification: Performance of SimCode: time 1.573e-06/0.7401, allocations: 0 / 1.555 GB, free: 6.02 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08586/0.826, allocations: 30.8 MB / 1.585 GB, free: 7.543 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.41/17.23, allocations: 5.891 kB / 1.585 GB, free: 7.539 MB / 1.279 GB " [Timeout remaining time 282] (rm -f Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe ; mkfifo Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe ; head -c 1048576 < Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe >> ../files/Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3_res.mat --tempDir=temp_Buildings_12_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse3_fmu --startTime=0 --stopTime=1e+06 --stepSize=400 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse3.fmu > Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.459967616014183]