Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.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.Residential.Windows.Validation.Nicol2001WindowsEU,fileNamePrefix="Buildings_9_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsEU",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU,fileNamePrefix="Buildings_9_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsEU",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.0009263/0.0009264, allocations: 98.45 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.0009571/0.0009572, 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.523/1.523, allocations: 223.2 MB / 239.9 MB, free: 5.25 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.404/2.404, allocations: 390.3 MB / 0.6653 GB, free: 2.965 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004803/0.0004803, allocations: 8 kB / 0.8146 GB, free: 14.2 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8054/0.8059, allocations: 142.3 MB / 0.9536 GB, free: 8.094 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU): time 0.001762/0.8077, allocations: 1.178 MB / 0.9547 GB, free: 7.16 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001167/0.8089, allocations: 0.674 MB / 0.9554 GB, free: 6.645 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.567e-05/0.809, allocations: 0.9688 kB / 0.9554 GB, free: 6.645 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.497e-05/0.809, allocations: 3.938 kB / 0.9554 GB, free: 6.641 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.911e-05/0.8091, allocations: 13.84 kB / 0.9554 GB, free: 6.629 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005269/0.8096, allocations: 95.47 kB / 0.9555 GB, free: 6.562 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000103/0.8098, allocations: 42.22 kB / 0.9555 GB, free: 6.535 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.021e-05/0.8098, allocations: 13.94 kB / 0.9556 GB, free: 6.527 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 9.445e-05/0.8099, allocations: 33.03 kB / 0.9556 GB, free: 6.508 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.817e-05/0.81, allocations: 39.73 kB / 0.9556 GB, free: 6.48 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.523e-05/0.81, allocations: 2.688 kB / 0.9556 GB, free: 6.48 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001916/0.8102, allocations: 63.84 kB / 0.9557 GB, free: 6.453 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.166e-05/0.8103, allocations: 14.36 kB / 0.9557 GB, free: 6.441 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.23e-05/0.8103, allocations: 34.08 kB / 0.9557 GB, free: 6.406 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002013/0.8105, allocations: 95.88 kB / 0.9558 GB, free: 6.348 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.925e-06/0.8105, allocations: 1.219 kB / 0.9558 GB, free: 6.348 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.383e-06/0.8105, allocations: 0 / 0.9558 GB, free: 6.348 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.62e-06/0.8106, allocations: 0 / 0.9558 GB, free: 6.348 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.0006436/0.8112, allocations: 415.7 kB / 0.9562 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.653e-05/0.8113, allocations: 8.75 kB / 0.9562 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.903e-05/0.8113, allocations: 40.02 kB / 0.9563 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.023e-05/0.8114, allocations: 14.95 kB / 0.9563 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.609e-05/0.8115, allocations: 167.4 kB / 0.9564 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.766e-05/0.8115, allocations: 2.469 kB / 0.9564 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.136e-05/0.8115, allocations: 6.875 kB / 0.9564 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001922/0.8117, allocations: 70.16 kB / 0.9565 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.779e-06/0.8117, allocations: 1.062 kB / 0.9565 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.329e-05/0.8118, allocations: 3.984 kB / 0.9565 GB, free: 5.598 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/0.8118, allocations: 9.156 kB / 0.9565 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001379/0.8119, allocations: 38.64 kB / 0.9566 GB, free: 5.578 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006151/0.8125, allocations: 332.8 kB / 0.9569 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001191/0.8127, allocations: 48 kB / 0.9569 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.404e-05/0.8127, allocations: 5.531 kB / 0.9569 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001899/0.8129, allocations: 82.77 kB / 0.957 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.492e-06/0.8129, allocations: 0 / 0.957 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.000407/0.8133, allocations: 152 kB / 0.9572 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.492e-05/0.8134, allocations: 58.28 kB / 0.9572 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.181e-05/0.8135, allocations: 124.7 kB / 0.9573 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.527e-05/0.8135, allocations: 25.7 kB / 0.9574 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.394e-05/0.8135, allocations: 89.89 kB / 0.9574 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.975e-05/0.8136, allocations: 15.8 kB / 0.9575 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.573e-06/0.8136, allocations: 3.312 kB / 0.9575 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.033e-05/0.8136, allocations: 318.8 kB / 0.9578 GB, free: 4.402 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.584e-05/0.8137, allocations: 40.81 kB / 0.9578 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.005e-05/0.8138, allocations: 46.69 kB / 0.9578 GB, free: 4.344 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.463e-05/0.8139, allocations: 35.89 kB / 0.9579 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.8139, allocations: 0 / 0.9579 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002441/0.8142, allocations: 117.9 kB / 0.958 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.775e-05/0.8142, allocations: 5.531 kB / 0.958 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.8142, allocations: 7.891 kB / 0.958 GB, free: 4.25 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.515e-05/0.8142, allocations: 2.188 kB / 0.958 GB, free: 4.25 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.622e-05/0.8143, allocations: 13.48 kB / 0.958 GB, free: 4.246 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.785e-06/0.8144, allocations: 5.125 kB / 0.958 GB, free: 4.242 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.245e-05/0.8144, allocations: 13.31 kB / 0.958 GB, free: 4.234 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.562e-05/0.8145, allocations: 3.188 kB / 0.958 GB, free: 4.234 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 (win.occ,$PRE.win.on,win.on,$PRE.win.p,win.p,$PRE.win.curSeed,win.curSeed,$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 8.383e-05/0.8146, allocations: 114.3 kB / 0.9582 GB, free: 4.117 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.009e-05/0.8146, allocations: 15.08 kB / 0.9582 GB, free: 4.105 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.008e-05/0.8146, allocations: 9.562 kB / 0.9582 GB, free: 4.094 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.8146, allocations: 5.047 kB / 0.9582 GB, free: 4.09 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.133e-06/0.8146, allocations: 4.938 kB / 0.9582 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.8146, allocations: 3.938 kB / 0.9582 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003977/0.815, allocations: 380.3 kB / 0.9586 GB, free: 3.719 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.8151, allocations: 0 / 0.9586 GB, free: 3.719 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.915e-05/0.8151, allocations: 9.125 kB / 0.9586 GB, free: 3.715 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.929e-06/0.8151, allocations: 3.953 kB / 0.9586 GB, free: 3.711 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.23e-05/0.8151, allocations: 9.453 kB / 0.9586 GB, free: 3.703 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.8151, allocations: 0.6562 kB / 0.9586 GB, free: 3.703 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.8151, allocations: 0 / 0.9586 GB, free: 3.703 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002554/0.8154, allocations: 219.7 kB / 0.9588 GB, free: 3.527 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.399e-05/0.8154, allocations: 87.28 kB / 0.9589 GB, free: 3.426 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.068e-05/0.8155, allocations: 9.172 kB / 0.9589 GB, free: 3.418 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.552e-05/0.8156, allocations: 3.375 kB / 0.9589 GB, free: 3.418 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.303e-05/0.8156, allocations: 10.92 kB / 0.9589 GB, free: 3.41 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.01e-05/0.8156, allocations: 2.531 kB / 0.9589 GB, free: 3.41 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.688e-05/0.8157, allocations: 95.39 kB / 0.959 GB, free: 3.324 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8157, allocations: 1.281 kB / 0.959 GB, free: 3.324 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003276/0.816, allocations: 39.25 kB / 0.959 GB, free: 3.312 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,win.occ,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.0006825/0.8167, allocations: 0.8056 MB / 0.9598 GB, free: 2.586 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002278/0.8169, allocations: 83.58 kB / 0.9599 GB, free: 2.551 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.8169, allocations: 3.938 kB / 0.9599 GB, free: 2.547 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.152e-05/0.817, allocations: 34.27 kB / 0.9599 GB, free: 2.535 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001749/0.8172, allocations: 7.766 kB / 0.9599 GB, free: 2.531 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006258/0.8179, allocations: 0.7379 MB / 0.9607 GB, free: 1.793 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001211/0.818, allocations: 0.6893 MB / 0.9613 GB, free: 1.09 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.633e-05/0.818, allocations: 3.812 kB / 0.9613 GB, free: 1.09 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.047e-05/0.8181, allocations: 22.95 kB / 0.9614 GB, free: 1.07 MB / 0.7169 GB Notification: Performance of SimCode: time 3e-07/0.8181, allocations: 0 / 0.9614 GB, free: 1.07 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01337/0.8315, allocations: 2.309 MB / 0.9636 GB, free: 15.99 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002735/0.8318, allocations: 241.8 kB / 0.9638 GB, free: 15.75 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.765/2.596, allocations: 4 kB / 0.9638 GB, free: 15.75 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.pipe ; mkfifo Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.pipe >> ../files/Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU_res.mat --tempDir=temp_Buildings_9_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsEU_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsEU.fmu > Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU_res.mat does not exist to compare? outputFormat=mat