Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.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 9.1.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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.Occupants.Office.Windows.Validation.Yun2008WindowsTIn,fileNamePrefix="Buildings_9_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTIn",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn,fileNamePrefix="Buildings_9_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTIn",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.001003/0.001003, allocations: 86.88 kB / 15.06 MB, free: 1.09 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.001233/0.001233, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.463/1.463, allocations: 223.3 MB / 240 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.415/2.415, allocations: 390.4 MB / 0.6655 GB, free: 2.898 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003625/0.0003631, allocations: 8 kB / 0.8149 GB, free: 14.07 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8306/0.831, allocations: 142.3 MB / 0.9539 GB, free: 8.031 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn): time 0.001478/0.8325, allocations: 1.212 MB / 0.955 GB, free: 7.07 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001051/0.8336, allocations: 0.7147 MB / 0.9557 GB, free: 6.516 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.65e-05/0.8336, allocations: 0 / 0.9557 GB, free: 6.516 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.525e-05/0.8336, allocations: 0 / 0.9557 GB, free: 6.516 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.271e-05/0.8337, allocations: 14.45 kB / 0.9557 GB, free: 6.504 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004368/0.8342, allocations: 101.5 kB / 0.9558 GB, free: 6.434 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001149/0.8343, allocations: 90.25 kB / 0.9559 GB, free: 6.379 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.223e-05/0.8344, allocations: 10.03 kB / 0.9559 GB, free: 6.375 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 9.079e-05/0.8345, allocations: 46.8 kB / 0.956 GB, free: 6.348 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 8.129e-05/0.8346, allocations: 51.14 kB / 0.956 GB, free: 6.312 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.033e-05/0.8346, allocations: 5.625 kB / 0.956 GB, free: 6.312 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000161/0.8348, allocations: 85.31 kB / 0.9561 GB, free: 6.27 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.625e-05/0.8348, allocations: 12.14 kB / 0.9561 GB, free: 6.262 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.527e-05/0.8348, allocations: 40.39 kB / 0.9562 GB, free: 6.223 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001645/0.835, allocations: 124.9 kB / 0.9563 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.835, allocations: 0 / 0.9563 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.374e-06/0.835, allocations: 0 / 0.9563 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.488e-06/0.835, allocations: 0 / 0.9563 GB, free: 6.141 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005251/0.8356, allocations: 440.1 kB / 0.9567 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.116e-05/0.8356, allocations: 13.38 kB / 0.9567 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.309e-05/0.8357, allocations: 35.88 kB / 0.9568 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.789e-05/0.8357, allocations: 15.59 kB / 0.9568 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.094e-05/0.8358, allocations: 184 kB / 0.9569 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.295e-05/0.8358, allocations: 6.438 kB / 0.957 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.135e-05/0.8359, allocations: 4.094 kB / 0.957 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000237/0.8361, allocations: 85.78 kB / 0.957 GB, free: 5.344 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-06/0.8361, allocations: 0 / 0.957 GB, free: 5.344 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.47e-05/0.8361, allocations: 4.969 kB / 0.957 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/0.8362, allocations: 1.031 kB / 0.957 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000191/0.8364, allocations: 67.53 kB / 0.9571 GB, free: 5.305 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000734/0.8371, allocations: 337 kB / 0.9574 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001772/0.8373, allocations: 61.33 kB / 0.9575 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001295/0.8374, allocations: 44.72 kB / 0.9575 GB, free: 4.902 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.255e-05/0.8375, allocations: 5.172 kB / 0.9575 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000245/0.8377, allocations: 110 kB / 0.9576 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=8): time 1.904e-06/0.8377, allocations: 0 / 0.9576 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8): time 0.0005707/0.8383, allocations: 200.5 kB / 0.9578 GB, free: 4.695 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.842e-05/0.8383, allocations: 54.34 kB / 0.9579 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.757e-05/0.8384, allocations: 128.5 kB / 0.958 GB, free: 4.516 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.584e-05/0.8385, allocations: 29.7 kB / 0.958 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.587e-05/0.8385, allocations: 89.58 kB / 0.9581 GB, free: 4.391 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.079e-05/0.8385, allocations: 19.14 kB / 0.9581 GB, free: 4.375 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.426e-06/0.8386, allocations: 5.188 kB / 0.9581 GB, free: 4.371 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.629e-05/0.8386, allocations: 317.1 kB / 0.9584 GB, free: 4.055 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.516e-05/0.8387, allocations: 42.34 kB / 0.9585 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.681e-05/0.8388, allocations: 58.88 kB / 0.9585 GB, free: 3.98 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001024/0.8389, allocations: 42.05 kB / 0.9586 GB, free: 3.961 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.055e-06/0.8389, allocations: 1.406 kB / 0.9586 GB, free: 3.961 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002534/0.8392, allocations: 136.7 kB / 0.9587 GB, free: 3.879 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.8e-05/0.8392, allocations: 6.125 kB / 0.9587 GB, free: 3.879 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.818e-06/0.8392, allocations: 5.984 kB / 0.9587 GB, free: 3.875 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.604e-05/0.8392, allocations: 5.875 kB / 0.9587 GB, free: 3.871 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001154/0.8394, allocations: 14.39 kB / 0.9587 GB, free: 3.867 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.736e-06/0.8394, allocations: 2.594 kB / 0.9587 GB, free: 3.867 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.808e-05/0.8395, allocations: 13.16 kB / 0.9588 GB, free: 3.859 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.635e-05/0.8395, allocations: 8.812 kB / 0.9588 GB, free: 3.855 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.win.curSeed,win.curSeed,$PRE.win.on,win.on,occ.y,$PRE.win.pOpen,win.pOpen,$PRE.win.pClose,win.pClose,$whenCondition1,win.sampleTrigger) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.548e-05/0.8396, allocations: 126.3 kB / 0.9589 GB, free: 3.73 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.631e-05/0.8396, allocations: 10.97 kB / 0.9589 GB, free: 3.723 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.844e-05/0.8396, allocations: 9.812 kB / 0.9589 GB, free: 3.711 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.937e-06/0.8397, allocations: 5.609 kB / 0.9589 GB, free: 3.707 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.8397, allocations: 0 / 0.9589 GB, free: 3.707 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.8397, allocations: 5.469 kB / 0.9589 GB, free: 3.703 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005246/0.8402, allocations: 444.4 kB / 0.9593 GB, free: 3.297 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.674e-06/0.8402, allocations: 0 / 0.9593 GB, free: 3.297 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.054e-05/0.8403, allocations: 8.594 kB / 0.9594 GB, free: 3.293 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.8403, allocations: 3.953 kB / 0.9594 GB, free: 3.289 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.42e-05/0.8403, allocations: 5.766 kB / 0.9594 GB, free: 3.285 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.8403, allocations: 1.75 kB / 0.9594 GB, free: 3.285 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.8403, allocations: 0 / 0.9594 GB, free: 3.285 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003663/0.8407, allocations: 248 kB / 0.9596 GB, free: 3.098 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.489e-05/0.8407, allocations: 87.59 kB / 0.9597 GB, free: 2.996 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.705e-05/0.8407, allocations: 9.203 kB / 0.9597 GB, free: 2.988 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001087/0.8409, allocations: 5.062 kB / 0.9597 GB, free: 2.988 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.325e-05/0.8409, allocations: 12.8 kB / 0.9597 GB, free: 2.98 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.171e-05/0.8409, allocations: 1.375 kB / 0.9597 GB, free: 2.98 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.371e-05/0.841, allocations: 104 kB / 0.9598 GB, free: 2.891 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.841, allocations: 1.375 kB / 0.9598 GB, free: 2.891 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003385/0.8413, allocations: 42.23 kB / 0.9599 GB, free: 2.879 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (win.sampleTrigger,$whenCondition1,occ.y,win.on,win.pOpen,win.pClose,win.curSeed) * Number of discrete states: 1 (win.on) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007911/0.8421, allocations: 0.8438 MB / 0.9607 GB, free: 2.133 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002887/0.8424, allocations: 92.33 kB / 0.9608 GB, free: 2.098 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.8424, allocations: 0 / 0.9608 GB, free: 2.098 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.000141/0.8426, allocations: 58.16 kB / 0.9608 GB, free: 2.07 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002787/0.8429, allocations: 12.06 kB / 0.9608 GB, free: 2.062 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001099/0.844, allocations: 0.665 MB / 0.9615 GB, free: 1.516 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001746/0.8442, allocations: 0.6897 MB / 0.9622 GB, free: 0.8125 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 4.86e-05/0.8442, allocations: 8.469 kB / 0.9622 GB, free: 0.8086 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.821e-05/0.8443, allocations: 26.64 kB / 0.9622 GB, free: 0.7852 MB / 0.7169 GB Notification: Performance of SimCode: time 2.21e-07/0.8443, allocations: 0 / 0.9622 GB, free: 0.7852 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01416/0.8584, allocations: 2.66 MB / 0.9648 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001888/0.8587, allocations: 246.7 kB / 0.965 GB, free: 15.26 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.882/2.741, allocations: 1.406 kB / 0.965 GB, free: 15.26 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn_res.mat --tempDir=temp_Buildings_9_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTIn_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTIn.fmu > Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn_res.mat does not exist to compare? outputFormat=mat