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.001484/0.001484, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001997/0.001997, allocations: 220.6 kB / 22.26 MB, free: 5.125 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.536/1.536, allocations: 230.6 MB / 256 MB, free: 7.957 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.332/3.332, allocations: 0.49 GB / 0.7951 GB, free: 33.39 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.002258/0.002258, allocations: 68.42 kB / 1.154 GB, free: 25.62 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4422/0.4444, allocations: 176.1 MB / 1.326 GB, free: 1.906 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3): time 0.2309/0.6753, allocations: 169.7 MB / 1.492 GB, free: 7.543 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.01588/0.6912, allocations: 8.066 MB / 1.5 GB, free: 15.45 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001956/0.6931, allocations: 43.69 kB / 1.5 GB, free: 15.41 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.001927/0.6951, allocations: 412.9 kB / 1.5 GB, free: 15 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.00553/0.7006, allocations: 1.383 MB / 1.501 GB, free: 13.62 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.004219/0.7048, allocations: 1.222 MB / 1.503 GB, free: 12.4 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.004684/0.7095, allocations: 2.414 MB / 1.505 GB, free: 9.98 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002546/0.712, allocations: 0.9799 MB / 1.506 GB, free: 8.977 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002795/0.7148, allocations: 0.9031 MB / 1.507 GB, free: 8.07 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002751/0.7176, allocations: 0.8246 MB / 1.508 GB, free: 7.246 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0007852/0.7184, allocations: 156 kB / 1.508 GB, free: 7.094 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00376/0.7221, allocations: 1.201 MB / 1.509 GB, free: 5.891 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.001059/0.7232, allocations: 458.4 kB / 1.509 GB, free: 5.441 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.00194/0.7251, allocations: 0.7891 MB / 1.51 GB, free: 4.648 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.006829/0.732, allocations: 2.464 MB / 1.512 GB, free: 2.176 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 1.099e-05/0.732, allocations: 4 kB / 1.512 GB, free: 2.172 MB / 1.201 GB Notification: Performance of FrontEnd: time 2.645e-06/0.732, allocations: 0 / 1.512 GB, free: 2.172 MB / 1.201 GB Notification: Performance of Transformations before backend: time 0.0001088/0.7321, allocations: 0 / 1.512 GB, free: 2.172 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.00627/0.7384, allocations: 1.891 MB / 1.514 GB, free: 244 kB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 6.081e-05/0.7384, allocations: 8.031 kB / 1.514 GB, free: 236 kB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004969/0.7389, allocations: 168.9 kB / 1.514 GB, free: 56 kB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003155/0.7421, allocations: 366.6 kB / 1.515 GB, free: 15.7 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002958/0.745, allocations: 0.9629 MB / 1.516 GB, free: 14.7 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001329/0.7452, allocations: 82.2 kB / 1.516 GB, free: 14.61 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000364/0.7455, allocations: 107.9 kB / 1.516 GB, free: 14.51 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003308/0.7488, allocations: 1.176 MB / 1.517 GB, free: 13.26 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.688e-05/0.7489, allocations: 4 kB / 1.517 GB, free: 13.26 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002232/0.7491, allocations: 51.94 kB / 1.517 GB, free: 13.21 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.972e-05/0.7492, allocations: 38.12 kB / 1.517 GB, free: 13.17 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003011/0.7522, allocations: 1.304 MB / 1.518 GB, free: 11.86 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.009699/0.7619, allocations: 3.837 MB / 1.522 GB, free: 7.793 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002531/0.7644, allocations: 0.9374 MB / 1.523 GB, free: 6.852 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008592/0.7653, allocations: 377.4 kB / 1.523 GB, free: 6.484 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001248/0.7654, allocations: 29.03 kB / 1.524 GB, free: 6.457 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001358/0.7667, allocations: 0.5915 MB / 1.524 GB, free: 5.848 MB / 1.217 GB Notification: Performance of pre-optimization done (n=102): time 5.17e-06/0.7667, allocations: 7.938 kB / 1.524 GB, free: 5.84 MB / 1.217 GB Notification: Performance of matching and sorting (n=102): time 0.004673/0.7714, allocations: 1.375 MB / 1.525 GB, free: 4.457 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001791/0.7716, allocations: 192.9 kB / 1.526 GB, free: 4.223 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001873/0.7735, allocations: 0.8586 MB / 1.526 GB, free: 3.34 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 0.0002616/0.7737, allocations: 49.7 kB / 1.527 GB, free: 3.285 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006857/0.7744, allocations: 0.5402 MB / 1.527 GB, free: 2.738 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005373/0.775, allocations: 345 kB / 1.527 GB, free: 2.398 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004799/0.7754, allocations: 190.5 kB / 1.528 GB, free: 2.207 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001825/0.7756, allocations: 342 kB / 1.528 GB, free: 1.867 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000829/0.7765, allocations: 313.8 kB / 1.528 GB, free: 1.562 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009806/0.7774, allocations: 483.5 kB / 1.529 GB, free: 1.043 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001692/0.7791, allocations: 0.7698 MB / 1.529 GB, free: 252 kB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.027e-06/0.7791, allocations: 0 / 1.529 GB, free: 252 kB / 1.217 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.003172/0.7823, allocations: 1.036 MB / 1.53 GB, free: 15.2 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 3.561e-05/0.7823, allocations: 8 kB / 1.53 GB, free: 15.19 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.453e-05/0.7824, allocations: 3.938 kB / 1.53 GB, free: 15.18 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007081/0.7831, allocations: 92.81 kB / 1.531 GB, free: 15.09 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001037/0.7841, allocations: 203.7 kB / 1.531 GB, free: 14.89 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002629/0.7867, allocations: 1.531 MB / 1.532 GB, free: 13.24 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0014/0.7881, allocations: 103.4 kB / 1.532 GB, free: 13.14 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002092/0.7883, allocations: 43.97 kB / 1.532 GB, free: 13.1 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.001032/0.7894, allocations: 314.4 kB / 1.533 GB, free: 12.78 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005394/0.7899, allocations: 123.2 kB / 1.533 GB, free: 12.66 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003536/0.7934, allocations: 1.248 MB / 1.534 GB, free: 11.39 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.269e-05/0.7935, allocations: 12 kB / 1.534 GB, free: 11.38 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.205e-05/0.7935, allocations: 4 kB / 1.534 GB, free: 11.38 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.433e-05/0.7935, allocations: 3.984 kB / 1.534 GB, free: 11.38 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002606/0.7961, allocations: 1.153 MB / 1.535 GB, free: 10.18 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.867e-05/0.7961, allocations: 0 / 1.535 GB, free: 10.18 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001085/0.7972, allocations: 211.7 kB / 1.535 GB, free: 9.973 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000537/0.7978, allocations: 76.73 kB / 1.535 GB, free: 9.895 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002/0.798, allocations: 31.97 kB / 1.535 GB, free: 9.863 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002482/0.8004, allocations: 1.567 MB / 1.537 GB, free: 8.18 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.8004, allocations: 0 / 1.537 GB, free: 8.18 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004295/0.8047, allocations: 1.582 MB / 1.538 GB, free: 6.574 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001018/0.8057, allocations: 258.8 kB / 1.539 GB, free: 6.32 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004221/0.8062, allocations: 20 kB / 1.539 GB, free: 6.301 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001189/0.8074, allocations: 75.92 kB / 1.539 GB, free: 6.227 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002656/0.8076, allocations: 80.84 kB / 1.539 GB, free: 6.148 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001509/0.8078, allocations: 44.03 kB / 1.539 GB, free: 6.105 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.001332/0.8091, allocations: 0.6061 MB / 1.54 GB, free: 5.488 MB / 1.232 GB Notification: Performance of sort global known variables: time 8e-08/0.8091, allocations: 0 / 1.54 GB, free: 5.488 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.001892/0.811, allocations: 423 kB / 1.54 GB, free: 5.074 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.006855/0.8179, allocations: 2.674 MB / 1.543 GB, free: 2.559 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.002486/0.8203, allocations: 0.9253 MB / 1.543 GB, free: 1.617 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 9.317e-06/0.8203, allocations: 8.062 kB / 1.543 GB, free: 1.609 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.001349/0.8217, allocations: 0.5665 MB / 1.544 GB, free: 1.031 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002696/0.8244, allocations: 490.7 kB / 1.544 GB, free: 0.5703 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01867/0.8431, allocations: 8.329 MB / 1.553 GB, free: 8.059 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001157/0.8442, allocations: 1.16 MB / 1.554 GB, free: 6.871 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.001427/0.8456, allocations: 329.3 kB / 1.554 GB, free: 6.547 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001025/0.8467, allocations: 0.5188 MB / 1.555 GB, free: 6.027 MB / 1.248 GB Notification: Performance of SimCode: time 1.112e-06/0.8467, allocations: 0 / 1.555 GB, free: 6.027 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1003/0.9469, allocations: 30.77 MB / 1.585 GB, free: 7.559 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.97/16.91, allocations: 4.062 kB / 1.585 GB, free: 7.555 MB / 1.279 GB " [Timeout remaining time 283] (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.431613150052726]