Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.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.SimpleHouse3,fileNamePrefix="Buildings_latest_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3,fileNamePrefix="Buildings_latest_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse3",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.006455/0.006455, allocations: 98.41 kB / 15.73 MB, free: 6.016 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.001262/0.001262, allocations: 193.3 kB / 16.67 MB, free: 5.949 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.444/1.444, allocations: 222.9 MB / 240.4 MB, free: 4.168 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.792/2.792, allocations: 461.9 MB / 0.7348 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001452/0.001452, allocations: 67.91 kB / 1.054 GB, free: 7.648 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2844/0.2859, allocations: 157.4 MB / 1.207 GB, free: 10.15 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3): time 0.9271/1.213, allocations: 166.1 MB / 1.369 GB, free: 1.922 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.01293/1.226, allocations: 7.81 MB / 1.377 GB, free: 12.37 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001627/1.228, allocations: 34.81 kB / 1.377 GB, free: 12.36 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.001474/1.229, allocations: 393.1 kB / 1.378 GB, free: 12.12 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.004376/1.234, allocations: 1.316 MB / 1.379 GB, free: 11.35 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.003396/1.237, allocations: 1.18 MB / 1.38 GB, free: 10.44 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.003712/1.241, allocations: 2.364 MB / 1.382 GB, free: 9.008 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002117/1.243, allocations: 1.187 MB / 1.383 GB, free: 8.219 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001858/1.245, allocations: 0.8165 MB / 1.384 GB, free: 7.73 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001988/1.247, allocations: 0.7873 MB / 1.385 GB, free: 7.203 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0004993/1.247, allocations: 149.2 kB / 1.385 GB, free: 7.203 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002791/1.25, allocations: 1.13 MB / 1.386 GB, free: 6.66 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0006336/1.251, allocations: 431 kB / 1.387 GB, free: 6.332 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.00158/1.252, allocations: 0.7753 MB / 1.387 GB, free: 5.781 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.005161/1.257, allocations: 2.414 MB / 1.39 GB, free: 4.102 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/1.257, allocations: 0 / 1.39 GB, free: 4.102 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.293e-06/1.257, allocations: 1 kB / 1.39 GB, free: 4.102 MB / 1.076 GB Notification: Performance of Transformations before backend: time 9.114e-05/1.258, allocations: 0 / 1.39 GB, free: 4.102 MB / 1.076 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.005762/1.263, allocations: 1.881 MB / 1.392 GB, free: 2.668 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 5.433e-05/1.263, allocations: 10 kB / 1.392 GB, free: 2.668 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003908/1.264, allocations: 167 kB / 1.392 GB, free: 2.531 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002417/1.266, allocations: 331.6 kB / 1.392 GB, free: 2.375 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002428/1.269, allocations: 1.017 MB / 1.393 GB, free: 1.578 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.174e-05/1.269, allocations: 83.17 kB / 1.393 GB, free: 1.539 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002084/1.269, allocations: 111.9 kB / 1.393 GB, free: 1.5 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002526/1.271, allocations: 1.171 MB / 1.394 GB, free: 0.7383 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.269e-05/1.272, allocations: 3.938 kB / 1.394 GB, free: 0.7344 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001253/1.272, allocations: 51.67 kB / 1.394 GB, free: 0.6953 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.345e-05/1.272, allocations: 45.94 kB / 1.394 GB, free: 0.6836 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0025/1.274, allocations: 1.305 MB / 1.396 GB, free: 56 kB / 1.076 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.006685/1.281, allocations: 3.797 MB / 1.399 GB, free: 12.94 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001858/1.283, allocations: 1.005 MB / 1.4 GB, free: 12.43 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007005/1.284, allocations: 399.2 kB / 1.401 GB, free: 12.23 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 8.558e-05/1.284, allocations: 34.45 kB / 1.401 GB, free: 12.21 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001094/1.285, allocations: 0.5836 MB / 1.401 GB, free: 11.84 MB / 1.092 GB Notification: Performance of pre-optimization done (n=102): time 4.118e-06/1.285, allocations: 0 / 1.401 GB, free: 11.84 MB / 1.092 GB Notification: Performance of matching and sorting (n=102): time 0.003947/1.289, allocations: 1.442 MB / 1.403 GB, free: 11.07 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001379/1.289, allocations: 198.5 kB / 1.403 GB, free: 10.85 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001584/1.29, allocations: 0.8359 MB / 1.404 GB, free: 10.36 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 0.0001218/1.291, allocations: 51.58 kB / 1.404 GB, free: 10.31 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005174/1.291, allocations: 0.5231 MB / 1.404 GB, free: 9.848 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.000369/1.291, allocations: 344.7 kB / 1.405 GB, free: 9.547 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003303/1.292, allocations: 181.4 kB / 1.405 GB, free: 9.438 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001268/1.292, allocations: 338.1 kB / 1.405 GB, free: 9.109 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006696/1.293, allocations: 319 kB / 1.406 GB, free: 8.953 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007853/1.293, allocations: 470 kB / 1.406 GB, free: 8.641 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001409/1.295, allocations: 0.7737 MB / 1.407 GB, free: 8.191 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.072e-06/1.295, allocations: 0 / 1.407 GB, free: 8.191 MB / 1.092 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002556/1.297, allocations: 1.029 MB / 1.408 GB, free: 7.672 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 2.97e-05/1.297, allocations: 8.125 kB / 1.408 GB, free: 7.672 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.52e-05/1.298, allocations: 11.3 kB / 1.408 GB, free: 7.664 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006484/1.298, allocations: 77.53 kB / 1.408 GB, free: 7.629 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000856/1.299, allocations: 208.2 kB / 1.408 GB, free: 7.578 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002313/1.301, allocations: 1.636 MB / 1.41 GB, free: 5.973 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001273/1.303, allocations: 107.8 kB / 1.41 GB, free: 5.898 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001085/1.303, allocations: 39.77 kB / 1.41 GB, free: 5.887 MB / 1.092 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.0007637/1.304, allocations: 313.6 kB / 1.41 GB, free: 5.648 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004051/1.304, allocations: 110.4 kB / 1.41 GB, free: 5.594 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002973/1.307, allocations: 1.255 MB / 1.411 GB, free: 4.891 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.244e-05/1.307, allocations: 14.86 kB / 1.411 GB, free: 4.887 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/1.307, allocations: 1.781 kB / 1.411 GB, free: 4.887 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.544e-05/1.307, allocations: 7.969 kB / 1.411 GB, free: 4.879 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00204/1.309, allocations: 1.165 MB / 1.413 GB, free: 4.02 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.08e-05/1.309, allocations: 0 / 1.413 GB, free: 4.02 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008936/1.31, allocations: 208.5 kB / 1.413 GB, free: 3.941 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004735/1.31, allocations: 72.78 kB / 1.413 GB, free: 3.867 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001059/1.311, allocations: 31.98 kB / 1.413 GB, free: 3.836 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001983/1.313, allocations: 1.662 MB / 1.414 GB, free: 2.031 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/1.313, allocations: 3.938 kB / 1.414 GB, free: 2.027 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003371/1.316, allocations: 1.562 MB / 1.416 GB, free: 452 kB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008424/1.317, allocations: 331.2 kB / 1.416 GB, free: 100 kB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003437/1.317, allocations: 27.98 kB / 1.416 GB, free: 72 kB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00109/1.318, allocations: 68.64 kB / 1.416 GB, free: 4 kB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002154/1.319, allocations: 84.88 kB / 1.417 GB, free: 15.92 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.431e-05/1.319, allocations: 35.98 kB / 1.417 GB, free: 15.89 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.001019/1.32, allocations: 0.5937 MB / 1.417 GB, free: 15.28 MB / 1.107 GB Notification: Performance of sort global known variables: time 2.31e-07/1.32, allocations: 0 / 1.417 GB, free: 15.28 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.001563/1.321, allocations: 419 kB / 1.418 GB, free: 14.87 MB / 1.107 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.005167/1.326, allocations: 2.65 MB / 1.42 GB, free: 12.38 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.002194/1.329, allocations: 0.9642 MB / 1.421 GB, free: 11.4 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 5.901e-06/1.329, allocations: 8.125 kB / 1.421 GB, free: 11.39 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.001102/1.33, allocations: 0.6017 MB / 1.422 GB, free: 10.78 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002606/1.332, allocations: 0.4889 MB / 1.422 GB, free: 10.31 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01461/1.347, allocations: 8.205 MB / 1.43 GB, free: 1.93 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008873/1.348, allocations: 1.158 MB / 1.431 GB, free: 0.7461 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.001243/1.349, allocations: 321.2 kB / 1.432 GB, free: 440 kB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008097/1.35, allocations: 0.511 MB / 1.432 GB, free: 15.92 MB / 1.123 GB Notification: Performance of SimCode: time 7.42e-07/1.35, allocations: 0 / 1.432 GB, free: 15.92 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08688/1.437, allocations: 30.17 MB / 1.462 GB, free: 2.109 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.54/14.98, allocations: 11.98 kB / 1.462 GB, free: 2.098 MB / 1.139 GB (rm -f Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe ; mkfifo Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe >> ../files/Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3_res.mat --tempDir=temp_Buildings_latest_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse3_fmu --startTime=0 --stopTime=1e+06 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse3.fmu > Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches