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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009478/0.009478, allocations: 101 kB / 15.73 MB, free: 6.047 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00201/0.00201, allocations: 188.6 kB / 16.67 MB, free: 5.98 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.517/1.517, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 3.248/3.248, allocations: 461.9 MB / 0.7348 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001492/0.001492, allocations: 67.83 kB / 1.054 GB, free: 7.656 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3009/0.3024, allocations: 157.4 MB / 1.207 GB, free: 10.16 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1): time 0.007441/0.3099, allocations: 5.12 MB / 1.212 GB, free: 5.012 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.7949/1.105, allocations: 150.6 MB / 1.359 GB, free: 9.168 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001117/1.106, allocations: 21.25 kB / 1.359 GB, free: 9.16 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.001006/1.107, allocations: 194.1 kB / 1.36 GB, free: 9.039 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.00278/1.11, allocations: 0.5693 MB / 1.36 GB, free: 8.711 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.002932/1.113, allocations: 0.8411 MB / 1.361 GB, free: 8.273 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.002467/1.115, allocations: 1.424 MB / 1.362 GB, free: 7.539 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00149/1.117, allocations: 0.5894 MB / 1.363 GB, free: 7.234 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001197/1.118, allocations: 0.4937 MB / 1.363 GB, free: 6.988 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001144/1.119, allocations: 0.5147 MB / 1.364 GB, free: 6.715 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0003558/1.12, allocations: 123 kB / 1.364 GB, free: 6.711 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001419/1.121, allocations: 490.6 kB / 1.364 GB, free: 6.602 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0004046/1.121, allocations: 298.3 kB / 1.365 GB, free: 6.414 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0008603/1.122, allocations: 0.5755 MB / 1.365 GB, free: 6.031 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.003212/1.126, allocations: 1.66 MB / 1.367 GB, free: 5.332 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/1.126, allocations: 0 / 1.367 GB, free: 5.332 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.953e-06/1.126, allocations: 0 / 1.367 GB, free: 5.332 MB / 1.061 GB Notification: Performance of Transformations before backend: time 4.1e-05/1.126, allocations: 1.281 kB / 1.367 GB, free: 5.332 MB / 1.061 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.004286/1.13, allocations: 1.466 MB / 1.368 GB, free: 4.344 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.567e-05/1.13, allocations: 8.969 kB / 1.368 GB, free: 4.344 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002771/1.13, allocations: 142.8 kB / 1.369 GB, free: 4.25 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001531/1.132, allocations: 188.4 kB / 1.369 GB, free: 4.188 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002273/1.134, allocations: 0.7862 MB / 1.369 GB, free: 3.672 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001001/1.134, allocations: 72.39 kB / 1.37 GB, free: 3.641 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002486/1.134, allocations: 88.22 kB / 1.37 GB, free: 3.609 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00264/1.137, allocations: 0.9355 MB / 1.371 GB, free: 3.176 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.942e-05/1.137, allocations: 0 / 1.371 GB, free: 3.176 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001507/1.137, allocations: 41.05 kB / 1.371 GB, free: 3.145 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.961e-05/1.137, allocations: 24.48 kB / 1.371 GB, free: 3.145 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003048/1.14, allocations: 1.119 MB / 1.372 GB, free: 2.828 MB / 1.061 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.007106/1.148, allocations: 2.725 MB / 1.374 GB, free: 0.6445 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002451/1.15, allocations: 0.8159 MB / 1.375 GB, free: 240 kB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000877/1.151, allocations: 315.4 kB / 1.375 GB, free: 76 kB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001214/1.151, allocations: 27.72 kB / 1.375 GB, free: 64 kB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001383/1.153, allocations: 0.4907 MB / 1.376 GB, free: 15.74 MB / 1.076 GB Notification: Performance of pre-optimization done (n=82): time 4.839e-06/1.153, allocations: 1.281 kB / 1.376 GB, free: 15.74 MB / 1.076 GB Notification: Performance of matching and sorting (n=82): time 0.004933/1.158, allocations: 1.204 MB / 1.377 GB, free: 15.09 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001412/1.158, allocations: 200.6 kB / 1.377 GB, free: 14.86 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00146/1.159, allocations: 0.6402 MB / 1.378 GB, free: 14.49 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.0001323/1.159, allocations: 43.14 kB / 1.378 GB, free: 14.45 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004651/1.16, allocations: 409.7 kB / 1.378 GB, free: 14.09 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002704/1.16, allocations: 265.3 kB / 1.379 GB, free: 13.86 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002686/1.16, allocations: 150.1 kB / 1.379 GB, free: 13.77 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001737/1.161, allocations: 384.3 kB / 1.379 GB, free: 13.41 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005526/1.161, allocations: 254.7 kB / 1.379 GB, free: 13.28 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006393/1.162, allocations: 360.8 kB / 1.38 GB, free: 13.05 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001141/1.163, allocations: 0.5919 MB / 1.38 GB, free: 12.73 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.409e-06/1.163, allocations: 1.188 kB / 1.38 GB, free: 12.73 MB / 1.076 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.002117/1.165, allocations: 0.8088 MB / 1.381 GB, free: 12.31 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.246e-05/1.165, allocations: 11.34 kB / 1.381 GB, free: 12.31 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.688e-06/1.165, allocations: 1.75 kB / 1.381 GB, free: 12.31 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006451/1.166, allocations: 89.2 kB / 1.381 GB, free: 12.26 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000699/1.166, allocations: 153.8 kB / 1.381 GB, free: 12.23 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002166/1.169, allocations: 1.631 MB / 1.383 GB, free: 10.63 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008625/1.169, allocations: 96.19 kB / 1.383 GB, free: 10.57 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001087/1.17, allocations: 31.61 kB / 1.383 GB, free: 10.55 MB / 1.076 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.000569/1.17, allocations: 269.9 kB / 1.383 GB, free: 10.34 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002672/1.17, allocations: 87.09 kB / 1.383 GB, free: 10.3 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002625/1.173, allocations: 1.078 MB / 1.384 GB, free: 9.691 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.011e-05/1.173, allocations: 9.219 kB / 1.384 GB, free: 9.691 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.798e-06/1.173, allocations: 0 / 1.384 GB, free: 9.691 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.24e-05/1.173, allocations: 3.984 kB / 1.384 GB, free: 9.688 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001345/1.175, allocations: 0.9086 MB / 1.385 GB, free: 9 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.617e-06/1.175, allocations: 0 / 1.385 GB, free: 9 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006596/1.175, allocations: 162 kB / 1.386 GB, free: 8.957 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004709/1.176, allocations: 69.92 kB / 1.386 GB, free: 8.922 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.847e-05/1.176, allocations: 32.16 kB / 1.386 GB, free: 8.898 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001982/1.178, allocations: 1.647 MB / 1.387 GB, free: 7.297 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.908e-06/1.178, allocations: 4.062 kB / 1.387 GB, free: 7.293 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002958/1.181, allocations: 1.343 MB / 1.389 GB, free: 6.57 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005227/1.181, allocations: 272.4 kB / 1.389 GB, free: 6.332 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001881/1.182, allocations: 22.53 kB / 1.389 GB, free: 6.316 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000709/1.182, allocations: 66.11 kB / 1.389 GB, free: 6.281 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000189/1.182, allocations: 71 kB / 1.389 GB, free: 6.246 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001/1.183, allocations: 38.62 kB / 1.389 GB, free: 6.23 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.000765/1.183, allocations: 465.5 kB / 1.389 GB, free: 5.969 MB / 1.076 GB Notification: Performance of sort global known variables: time 2.41e-07/1.183, allocations: 1.188 kB / 1.389 GB, free: 5.969 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.001058/1.184, allocations: 323.4 kB / 1.39 GB, free: 5.879 MB / 1.076 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.004748/1.189, allocations: 2.396 MB / 1.392 GB, free: 4.434 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001925/1.191, allocations: 0.8039 MB / 1.393 GB, free: 4.012 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 6.152e-06/1.191, allocations: 5.562 kB / 1.393 GB, free: 4.008 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.001087/1.192, allocations: 0.521 MB / 1.393 GB, free: 3.711 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00155/1.194, allocations: 300.2 kB / 1.394 GB, free: 3.559 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01113/1.205, allocations: 6.346 MB / 1.4 GB, free: 15.66 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006469/1.206, allocations: 1.033 MB / 1.401 GB, free: 14.82 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0008859/1.207, allocations: 267 kB / 1.401 GB, free: 14.68 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005928/1.207, allocations: 404 kB / 1.402 GB, free: 14.36 MB / 1.092 GB Notification: Performance of SimCode: time 7.52e-07/1.207, allocations: 0 / 1.402 GB, free: 14.36 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05877/1.266, allocations: 21.92 MB / 1.423 GB, free: 9.77 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.67/14.94, allocations: 6.812 kB / 1.423 GB, free: 9.766 MB / 1.107 GB (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 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse1.fmu > Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe 2>&1) 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/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches