Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.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.Haldi2008WindowsTIn,fileNamePrefix="Buildings_9_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTIn",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn,fileNamePrefix="Buildings_9_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTIn",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.0009781/0.0009785, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.0009183/0.0009183, allocations: 177.3 kB / 15.94 MB, free: 228 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.407/1.407, allocations: 223.2 MB / 239.9 MB, free: 5.352 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.388/2.388, allocations: 390.3 MB / 0.6653 GB, free: 2.977 MB / 0.5138 GB Notification: Performance of FrontEnd - loaded program: time 0.0003417/0.0003417, allocations: 12 kB / 0.8146 GB, free: 14.21 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7199/0.7203, allocations: 142.3 MB / 0.9536 GB, free: 8.055 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn): time 0.002112/0.7224, allocations: 1.199 MB / 0.9548 GB, free: 7.105 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001317/0.7238, allocations: 0.67 MB / 0.9554 GB, free: 6.594 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.399e-05/0.7239, allocations: 1.188 kB / 0.9554 GB, free: 6.594 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.043e-05/0.7239, allocations: 3.938 kB / 0.9554 GB, free: 6.59 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.4e-05/0.724, allocations: 14 kB / 0.9554 GB, free: 6.578 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006551/0.7247, allocations: 95.02 kB / 0.9555 GB, free: 6.512 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000118/0.7248, allocations: 43.19 kB / 0.9556 GB, free: 6.484 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001056/0.7249, allocations: 13.42 kB / 0.9556 GB, free: 6.477 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001035/0.725, allocations: 29.02 kB / 0.9556 GB, free: 6.461 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 8.311e-05/0.7251, allocations: 43.69 kB / 0.9556 GB, free: 6.43 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.836e-05/0.7251, allocations: 2.906 kB / 0.9556 GB, free: 6.43 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002051/0.7254, allocations: 63.16 kB / 0.9557 GB, free: 6.402 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.701e-05/0.7254, allocations: 18.22 kB / 0.9557 GB, free: 6.387 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.218e-05/0.7254, allocations: 39.61 kB / 0.9558 GB, free: 6.348 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001992/0.7256, allocations: 91.08 kB / 0.9558 GB, free: 6.293 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.474e-06/0.7257, allocations: 0 / 0.9558 GB, free: 6.293 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.834e-06/0.7257, allocations: 0 / 0.9558 GB, free: 6.293 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 9.508e-06/0.7257, allocations: 5.062 kB / 0.9559 GB, free: 6.289 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006057/0.7263, allocations: 413 kB / 0.9562 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.58e-05/0.7263, allocations: 9.781 kB / 0.9563 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.244e-05/0.7264, allocations: 47.86 kB / 0.9563 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.186e-05/0.7265, allocations: 10.77 kB / 0.9563 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001023/0.7266, allocations: 167.3 kB / 0.9565 GB, free: 5.598 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.882e-05/0.7266, allocations: 6.297 kB / 0.9565 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.14e-05/0.7266, allocations: 8.688 kB / 0.9565 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001955/0.7268, allocations: 65.66 kB / 0.9565 GB, free: 5.539 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.064e-05/0.7268, allocations: 0 / 0.9565 GB, free: 5.539 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.42e-05/0.7269, allocations: 1.031 kB / 0.9566 GB, free: 5.539 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.514e-06/0.7269, allocations: 4.828 kB / 0.9566 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001449/0.727, allocations: 46.03 kB / 0.9566 GB, free: 5.516 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006472/0.7277, allocations: 320 kB / 0.9569 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001244/0.7278, allocations: 50.75 kB / 0.957 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.683e-05/0.7279, allocations: 3.75 kB / 0.957 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002118/0.7281, allocations: 85.14 kB / 0.957 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 2.935e-06/0.7281, allocations: 0 / 0.957 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0004388/0.7285, allocations: 148.9 kB / 0.9572 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.194e-05/0.7286, allocations: 65.45 kB / 0.9572 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.365e-05/0.7287, allocations: 116.4 kB / 0.9574 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.657e-05/0.7287, allocations: 26.86 kB / 0.9574 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.186e-05/0.7288, allocations: 95.5 kB / 0.9575 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.966e-05/0.7288, allocations: 14.22 kB / 0.9575 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.029e-05/0.7288, allocations: 4 kB / 0.9575 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.771e-05/0.7289, allocations: 317 kB / 0.9578 GB, free: 4.348 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.027e-05/0.729, allocations: 33.05 kB / 0.9578 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001037/0.7291, allocations: 59.09 kB / 0.9579 GB, free: 4.281 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001084/0.7292, allocations: 36.42 kB / 0.9579 GB, free: 4.266 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.7292, allocations: 0 / 0.9579 GB, free: 4.266 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002568/0.7295, allocations: 122.6 kB / 0.958 GB, free: 4.191 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.954e-05/0.7295, allocations: 5.5 kB / 0.958 GB, free: 4.191 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.022e-05/0.7295, allocations: 8.906 kB / 0.958 GB, free: 4.184 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.558e-05/0.7295, allocations: 1.344 kB / 0.958 GB, free: 4.184 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001167/0.7297, allocations: 17.62 kB / 0.9581 GB, free: 4.176 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.967e-06/0.7297, allocations: 1.938 kB / 0.9581 GB, free: 4.176 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.348e-05/0.7298, allocations: 17.23 kB / 0.9581 GB, free: 4.164 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.561e-05/0.7298, allocations: 3.25 kB / 0.9581 GB, free: 4.164 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.win.curSeed,win.curSeed,occ.y,$PRE.win.on,win.on,$PRE.win.p,win.p,$whenCondition1,win.sampleTrigger) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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 9.329e-05/0.7299, allocations: 120 kB / 0.9582 GB, free: 4.043 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.588e-05/0.7299, allocations: 7.188 kB / 0.9582 GB, free: 4.039 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.78e-05/0.7299, allocations: 13.52 kB / 0.9582 GB, free: 4.023 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.846e-06/0.7299, allocations: 5.266 kB / 0.9582 GB, free: 4.02 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/0.73, allocations: 5.281 kB / 0.9582 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.73, allocations: 0 / 0.9582 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004362/0.7304, allocations: 387.9 kB / 0.9586 GB, free: 3.645 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.7304, allocations: 0 / 0.9586 GB, free: 3.645 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.929e-05/0.7305, allocations: 8.156 kB / 0.9586 GB, free: 3.641 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.15e-06/0.7305, allocations: 5.297 kB / 0.9586 GB, free: 3.637 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.95e-05/0.7305, allocations: 5.266 kB / 0.9586 GB, free: 3.633 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.325e-06/0.7305, allocations: 0 / 0.9586 GB, free: 3.633 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.7305, allocations: 1.281 kB / 0.9586 GB, free: 3.633 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002963/0.7308, allocations: 214.3 kB / 0.9588 GB, free: 3.461 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.967e-05/0.7309, allocations: 86.45 kB / 0.9589 GB, free: 3.359 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.188e-05/0.7309, allocations: 9.703 kB / 0.9589 GB, free: 3.352 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.856e-05/0.731, allocations: 8.641 kB / 0.9589 GB, free: 3.348 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.706e-05/0.731, allocations: 2.594 kB / 0.9589 GB, free: 3.348 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.167e-05/0.7311, allocations: 5.453 kB / 0.9589 GB, free: 3.344 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.733e-05/0.7311, allocations: 100.2 kB / 0.959 GB, free: 3.254 MB / 0.7169 GB Notification: Performance of sort global known variables: time 9e-08/0.7311, allocations: 0 / 0.959 GB, free: 3.254 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003971/0.7315, allocations: 37.09 kB / 0.9591 GB, free: 3.246 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: 6 (win.sampleTrigger,$whenCondition1,occ.y,win.on,win.p,win.curSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0008215/0.7323, allocations: 0.8031 MB / 0.9598 GB, free: 2.523 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002726/0.7326, allocations: 73.88 kB / 0.9599 GB, free: 2.496 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.7326, allocations: 128 / 0.9599 GB, free: 2.496 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.000103/0.7328, allocations: 47.56 kB / 0.96 GB, free: 2.473 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001976/0.733, allocations: 13.7 kB / 0.96 GB, free: 2.461 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008235/0.7338, allocations: 0.8687 MB / 0.9608 GB, free: 1.586 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001857/0.734, allocations: 0.6982 MB / 0.9615 GB, free: 0.875 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 4.456e-05/0.7341, allocations: 2.938 kB / 0.9615 GB, free: 0.875 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.23e-05/0.7341, allocations: 23.55 kB / 0.9615 GB, free: 0.8555 MB / 0.7169 GB Notification: Performance of SimCode: time 2.1e-07/0.7341, allocations: 0 / 0.9615 GB, free: 0.8555 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01741/0.7515, allocations: 2.308 MB / 0.9638 GB, free: 15.75 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002912/0.7519, allocations: 236.6 kB / 0.964 GB, free: 15.52 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.757/2.509, allocations: 0 / 0.964 GB, free: 15.52 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn_res.mat --tempDir=temp_Buildings_9_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTIn_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTIn.fmu > Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn_res.mat does not exist to compare? outputFormat=mat