Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.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.Nicol2001WindowsPakistan,fileNamePrefix="Buildings_9_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsPakistan",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan,fileNamePrefix="Buildings_9_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsPakistan",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.001086/0.001086, allocations: 86.8 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.001367/0.001367, 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.473/1.473, allocations: 223.3 MB / 240 MB, free: 5.43 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.484/2.484, allocations: 390.4 MB / 0.6655 GB, free: 2.871 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003707/0.0003707, allocations: 8 kB / 0.8149 GB, free: 14.09 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8094/0.8098, allocations: 142.3 MB / 0.9538 GB, free: 8.102 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan): time 0.001474/0.8113, allocations: 1.177 MB / 0.955 GB, free: 7.168 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001098/0.8124, allocations: 0.6735 MB / 0.9557 GB, free: 6.648 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.617e-05/0.8125, allocations: 1.031 kB / 0.9557 GB, free: 6.648 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.422e-05/0.8125, allocations: 3.984 kB / 0.9557 GB, free: 6.645 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.942e-05/0.8126, allocations: 13.08 kB / 0.9557 GB, free: 6.633 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005825/0.8132, allocations: 101.4 kB / 0.9558 GB, free: 6.562 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001081/0.8133, allocations: 70.08 kB / 0.9558 GB, free: 6.52 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.644e-05/0.8134, allocations: 9 kB / 0.9558 GB, free: 6.516 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.325e-05/0.8135, allocations: 29.88 kB / 0.9559 GB, free: 6.5 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.075e-05/0.8136, allocations: 34.36 kB / 0.9559 GB, free: 6.477 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.722e-05/0.8136, allocations: 3.188 kB / 0.9559 GB, free: 6.477 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001918/0.8138, allocations: 85.55 kB / 0.956 GB, free: 6.434 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.163e-05/0.8138, allocations: 14.89 kB / 0.956 GB, free: 6.422 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.912e-05/0.8139, allocations: 38.72 kB / 0.956 GB, free: 6.383 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001494/0.814, allocations: 99.78 kB / 0.9561 GB, free: 6.32 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.8141, allocations: 0 / 0.9561 GB, free: 6.32 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.403e-06/0.8141, allocations: 4 kB / 0.9561 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.574e-06/0.8141, allocations: 1.125 kB / 0.9561 GB, free: 6.316 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.0004694/0.8146, allocations: 405.6 kB / 0.9565 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.649e-05/0.8146, allocations: 9.312 kB / 0.9565 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.132e-05/0.8146, allocations: 39.67 kB / 0.9566 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.266e-05/0.8147, allocations: 15.89 kB / 0.9566 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.856e-05/0.8148, allocations: 166.9 kB / 0.9568 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.172e-05/0.8148, allocations: 6.031 kB / 0.9568 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.532e-05/0.8148, allocations: 3.312 kB / 0.9568 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001586/0.815, allocations: 70.53 kB / 0.9568 GB, free: 5.578 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.572e-06/0.815, allocations: 5.047 kB / 0.9568 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.988e-06/0.815, allocations: 0 / 0.9568 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.251e-06/0.815, allocations: 8.969 kB / 0.9568 GB, free: 5.566 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001175/0.8151, allocations: 42.27 kB / 0.9569 GB, free: 5.551 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004725/0.8156, allocations: 329.9 kB / 0.9572 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001085/0.8157, allocations: 51.31 kB / 0.9572 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.455e-05/0.8158, allocations: 34.34 kB / 0.9573 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.077e-05/0.8158, allocations: 1.156 kB / 0.9573 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000156/0.816, allocations: 83.61 kB / 0.9574 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.312e-06/0.816, allocations: 4 kB / 0.9574 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0003507/0.8164, allocations: 148.4 kB / 0.9575 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.065e-05/0.8164, allocations: 61.36 kB / 0.9576 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.709e-05/0.8165, allocations: 120 kB / 0.9577 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.236e-05/0.8165, allocations: 26.98 kB / 0.9577 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.629e-05/0.8165, allocations: 94.78 kB / 0.9578 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.604e-05/0.8166, allocations: 15.22 kB / 0.9578 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.491e-06/0.8166, allocations: 0 / 0.9578 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.324e-05/0.8166, allocations: 321.4 kB / 0.9581 GB, free: 4.355 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.303e-05/0.8167, allocations: 28.27 kB / 0.9581 GB, free: 4.344 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.759e-05/0.8168, allocations: 55.62 kB / 0.9582 GB, free: 4.301 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.397e-05/0.8169, allocations: 38.91 kB / 0.9582 GB, free: 4.281 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.8169, allocations: 3.344 kB / 0.9582 GB, free: 4.281 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000206/0.8171, allocations: 116 kB / 0.9583 GB, free: 4.211 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.697e-05/0.8171, allocations: 13.77 kB / 0.9584 GB, free: 4.203 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.279e-06/0.8171, allocations: 1.406 kB / 0.9584 GB, free: 4.203 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.225e-05/0.8172, allocations: 1.031 kB / 0.9584 GB, free: 4.203 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.058e-05/0.8173, allocations: 14.05 kB / 0.9584 GB, free: 4.199 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.632e-06/0.8173, allocations: 1.438 kB / 0.9584 GB, free: 4.199 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.122e-05/0.8173, allocations: 12.5 kB / 0.9584 GB, free: 4.191 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.251e-05/0.8174, allocations: 7.062 kB / 0.9584 GB, free: 4.188 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 6.462e-05/0.8174, allocations: 123.2 kB / 0.9585 GB, free: 4.062 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.347e-05/0.8174, allocations: 10.59 kB / 0.9585 GB, free: 4.055 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.441e-05/0.8175, allocations: 14.14 kB / 0.9585 GB, free: 4.039 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.8175, allocations: 1.156 kB / 0.9585 GB, free: 4.039 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.938e-06/0.8175, allocations: 0 / 0.9585 GB, free: 4.039 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.8175, allocations: 2.094 kB / 0.9585 GB, free: 4.039 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003438/0.8178, allocations: 383.4 kB / 0.9589 GB, free: 3.672 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.8179, allocations: 0 / 0.9589 GB, free: 3.672 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.915e-05/0.8179, allocations: 12.59 kB / 0.9589 GB, free: 3.664 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-06/0.8179, allocations: 0 / 0.9589 GB, free: 3.664 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.046e-05/0.8179, allocations: 1.438 kB / 0.9589 GB, free: 3.664 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.8179, allocations: 3.938 kB / 0.9589 GB, free: 3.66 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/0.8179, allocations: 5.406 kB / 0.9589 GB, free: 3.656 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002276/0.8182, allocations: 217.8 kB / 0.9591 GB, free: 3.48 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.251e-05/0.8182, allocations: 84.14 kB / 0.9592 GB, free: 3.383 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.208e-05/0.8182, allocations: 3.953 kB / 0.9592 GB, free: 3.379 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.167e-05/0.8183, allocations: 4.594 kB / 0.9592 GB, free: 3.379 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.626e-05/0.8184, allocations: 10.45 kB / 0.9592 GB, free: 3.371 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.957e-06/0.8184, allocations: 2.344 kB / 0.9592 GB, free: 3.371 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.461e-05/0.8184, allocations: 96.08 kB / 0.9593 GB, free: 3.285 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8184, allocations: 0 / 0.9593 GB, free: 3.285 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002847/0.8187, allocations: 48.64 kB / 0.9594 GB, free: 3.266 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.0005681/0.8193, allocations: 0.8063 MB / 0.9602 GB, free: 2.539 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002075/0.8195, allocations: 82.94 kB / 0.9602 GB, free: 2.504 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.8195, allocations: 0 / 0.9602 GB, free: 2.504 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.744e-05/0.8196, allocations: 39.48 kB / 0.9603 GB, free: 2.488 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002392/0.8199, allocations: 16.75 kB / 0.9603 GB, free: 2.477 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000837/0.8207, allocations: 0.5963 MB / 0.9609 GB, free: 1.984 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001152/0.8208, allocations: 0.6968 MB / 0.9616 GB, free: 1.273 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.777e-05/0.8209, allocations: 3.562 kB / 0.9616 GB, free: 1.273 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.949e-05/0.8209, allocations: 22.33 kB / 0.9616 GB, free: 1.254 MB / 0.7169 GB Notification: Performance of SimCode: time 2.2e-07/0.8209, allocations: 0 / 0.9616 GB, free: 1.254 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01295/0.8339, allocations: 2.332 MB / 0.9639 GB, free: 168 kB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001905/0.8341, allocations: 255.2 kB / 0.9641 GB, free: 15.83 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.694/2.528, allocations: 0 / 0.9641 GB, free: 15.83 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.pipe ; mkfifo Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.pipe >> ../files/Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan_res.mat --tempDir=temp_Buildings_9_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsPakistan_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsPakistan.fmu > Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan_res.mat does not exist to compare? outputFormat=mat