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.001399/0.001399, allocations: 113 kB / 16.46 MB, free: 6.453 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.001572/0.001572, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.439/1.439, allocations: 230.6 MB / 252.8 MB, free: 8.961 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.229/3.229, allocations: 0.49 GB / 0.7916 GB, free: 33.25 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3,fileNamePrefix="Buildings_12_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse3",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.002174/0.002174, allocations: 66.94 kB / 1.149 GB, free: 26.3 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3851/0.3873, allocations: 176.1 MB / 1.321 GB, free: 3.285 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3): time 0.2141/0.6014, allocations: 169.6 MB / 1.486 GB, free: 9.082 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.01528/0.6167, allocations: 7.925 MB / 1.494 GB, free: 1.129 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002072/0.6187, allocations: 47.62 kB / 1.494 GB, free: 1.082 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.00176/0.6205, allocations: 416.9 kB / 1.495 GB, free: 0.6719 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.005157/0.6256, allocations: 1.359 MB / 1.496 GB, free: 15.31 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.003824/0.6295, allocations: 1.187 MB / 1.497 GB, free: 14.13 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.004237/0.6337, allocations: 2.377 MB / 1.499 GB, free: 11.75 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00205/0.6358, allocations: 0.9872 MB / 1.5 GB, free: 10.74 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002106/0.6379, allocations: 0.903 MB / 1.501 GB, free: 9.832 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00199/0.6399, allocations: 0.8169 MB / 1.502 GB, free: 9.012 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0004487/0.6403, allocations: 152 kB / 1.502 GB, free: 8.863 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002856/0.6432, allocations: 1.197 MB / 1.503 GB, free: 7.664 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0006247/0.6438, allocations: 442.6 kB / 1.504 GB, free: 7.23 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.00122/0.645, allocations: 0.789 MB / 1.505 GB, free: 6.438 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.004918/0.6499, allocations: 2.471 MB / 1.507 GB, free: 3.957 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 6.702e-06/0.6499, allocations: 0 / 1.507 GB, free: 3.957 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.723e-06/0.6499, allocations: 0 / 1.507 GB, free: 3.957 MB / 1.201 GB Notification: Performance of Transformations before backend: time 6.172e-05/0.65, allocations: 0 / 1.507 GB, free: 3.957 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.004658/0.6546, allocations: 1.954 MB / 1.509 GB, free: 1.941 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 5.181e-05/0.6547, allocations: 15.98 kB / 1.509 GB, free: 1.926 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002738/0.655, allocations: 168.9 kB / 1.509 GB, free: 1.75 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002712/0.6577, allocations: 382.6 kB / 1.509 GB, free: 1.375 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002128/0.6598, allocations: 1.043 MB / 1.51 GB, free: 292 kB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.695e-05/0.6599, allocations: 78.2 kB / 1.511 GB, free: 212 kB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002161/0.6601, allocations: 112 kB / 1.511 GB, free: 100 kB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002449/0.6626, allocations: 1.176 MB / 1.512 GB, free: 14.85 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.26e-05/0.6626, allocations: 3.938 kB / 1.512 GB, free: 14.85 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001291/0.6627, allocations: 48 kB / 1.512 GB, free: 14.8 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.501e-05/0.6628, allocations: 42.06 kB / 1.512 GB, free: 14.76 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002532/0.6653, allocations: 1.316 MB / 1.513 GB, free: 13.43 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.007294/0.6726, allocations: 3.891 MB / 1.517 GB, free: 9.316 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002038/0.6746, allocations: 0.9459 MB / 1.518 GB, free: 8.363 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007567/0.6754, allocations: 369.4 kB / 1.518 GB, free: 8 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001208/0.6755, allocations: 41.02 kB / 1.518 GB, free: 7.961 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00115/0.6767, allocations: 0.5901 MB / 1.519 GB, free: 7.355 MB / 1.217 GB Notification: Performance of pre-optimization done (n=102): time 3.387e-06/0.6767, allocations: 0 / 1.519 GB, free: 7.355 MB / 1.217 GB Notification: Performance of matching and sorting (n=102): time 0.004114/0.6808, allocations: 1.439 MB / 1.52 GB, free: 5.891 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001383/0.6809, allocations: 200.9 kB / 1.52 GB, free: 5.652 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001443/0.6824, allocations: 0.8626 MB / 1.521 GB, free: 4.766 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 0.0002039/0.6826, allocations: 41.7 kB / 1.521 GB, free: 4.719 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005527/0.6831, allocations: 0.5401 MB / 1.522 GB, free: 4.172 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.000608/0.6837, allocations: 357 kB / 1.522 GB, free: 3.82 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000351/0.6841, allocations: 186.5 kB / 1.522 GB, free: 3.633 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001679/0.6843, allocations: 345.9 kB / 1.523 GB, free: 3.289 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007052/0.685, allocations: 313.8 kB / 1.523 GB, free: 2.98 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008195/0.6858, allocations: 471.7 kB / 1.523 GB, free: 2.477 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001465/0.6872, allocations: 0.7776 MB / 1.524 GB, free: 1.668 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.218e-06/0.6873, allocations: 0 / 1.524 GB, free: 1.668 MB / 1.217 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.00271/0.69, allocations: 1.029 MB / 1.525 GB, free: 0.6289 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 3.017e-05/0.69, allocations: 13.97 kB / 1.525 GB, free: 0.6172 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.212e-05/0.69, allocations: 4 kB / 1.525 GB, free: 0.6133 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006348/0.6906, allocations: 84.98 kB / 1.525 GB, free: 0.5273 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009594/0.6916, allocations: 207.7 kB / 1.525 GB, free: 332 kB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002431/0.694, allocations: 1.65 MB / 1.527 GB, free: 14.53 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001345/0.6954, allocations: 110.2 kB / 1.527 GB, free: 14.42 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001476/0.6955, allocations: 39.98 kB / 1.527 GB, free: 14.38 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.0007885/0.6963, allocations: 317.5 kB / 1.528 GB, free: 14.06 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003903/0.6967, allocations: 123.2 kB / 1.528 GB, free: 13.94 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00306/0.6998, allocations: 1.248 MB / 1.529 GB, free: 12.68 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.672e-05/0.6998, allocations: 12 kB / 1.529 GB, free: 12.67 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.6998, allocations: 0 / 1.529 GB, free: 12.67 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.774e-05/0.6998, allocations: 7.969 kB / 1.529 GB, free: 12.66 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002081/0.7019, allocations: 1.181 MB / 1.53 GB, free: 11.43 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.173e-06/0.7019, allocations: 0 / 1.53 GB, free: 11.43 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000974/0.7029, allocations: 203.8 kB / 1.53 GB, free: 11.23 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005239/0.7034, allocations: 80.72 kB / 1.53 GB, free: 11.15 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001401/0.7035, allocations: 23.98 kB / 1.53 GB, free: 11.12 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002217/0.7057, allocations: 1.658 MB / 1.532 GB, free: 9.32 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.7057, allocations: 4.062 kB / 1.532 GB, free: 9.316 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003809/0.7096, allocations: 1.586 MB / 1.534 GB, free: 7.711 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000815/0.7104, allocations: 327.9 kB / 1.534 GB, free: 7.371 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002376/0.7106, allocations: 24 kB / 1.534 GB, free: 7.348 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009733/0.7116, allocations: 70.41 kB / 1.534 GB, free: 7.281 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002212/0.7118, allocations: 88.86 kB / 1.534 GB, free: 7.191 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.747e-05/0.7119, allocations: 43.98 kB / 1.534 GB, free: 7.148 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.001013/0.7129, allocations: 0.6022 MB / 1.535 GB, free: 6.535 MB / 1.232 GB Notification: Performance of sort global known variables: time 8e-08/0.7129, allocations: 0 / 1.535 GB, free: 6.535 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.001528/0.7144, allocations: 435 kB / 1.535 GB, free: 6.109 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.006202/0.7206, allocations: 2.651 MB / 1.538 GB, free: 3.609 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.002483/0.7231, allocations: 0.9288 MB / 1.539 GB, free: 2.664 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 6.082e-06/0.7231, allocations: 0 / 1.539 GB, free: 2.664 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.001262/0.7244, allocations: 0.5671 MB / 1.539 GB, free: 2.09 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002695/0.7271, allocations: 487.5 kB / 1.54 GB, free: 1.633 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01755/0.7446, allocations: 8.323 MB / 1.548 GB, free: 9.121 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001106/0.7457, allocations: 1.158 MB / 1.549 GB, free: 7.93 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.001453/0.7472, allocations: 337.2 kB / 1.549 GB, free: 7.598 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009393/0.7481, allocations: 0.5188 MB / 1.55 GB, free: 7.078 MB / 1.248 GB Notification: Performance of SimCode: time 1.844e-06/0.7481, allocations: 4 kB / 1.55 GB, free: 7.074 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08595/0.8341, allocations: 30.04 MB / 1.579 GB, free: 9.332 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.37/16.2, allocations: 2.188 kB / 1.579 GB, free: 9.332 MB / 1.279 GB " [Timeout remaining time 284] (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: 23.157360912067816]