Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.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.Zhang2012WindowsEast,fileNamePrefix="Buildings_9_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsEast",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast,fileNamePrefix="Buildings_9_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsEast",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.001235/0.001235, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.002154/0.002154, allocations: 172.7 kB / 15.95 MB, free: 208 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.428/1.428, allocations: 223.2 MB / 240 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.521/2.521, allocations: 390.4 MB / 0.6655 GB, free: 2.938 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004341/0.0004341, allocations: 8 kB / 0.8149 GB, free: 14.14 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7885/0.7889, allocations: 142.3 MB / 0.9538 GB, free: 8.148 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast): time 0.001523/0.7905, allocations: 1.201 MB / 0.955 GB, free: 7.195 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001038/0.7916, allocations: 0.6697 MB / 0.9557 GB, free: 6.68 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.349e-05/0.7916, allocations: 5.031 kB / 0.9557 GB, free: 6.676 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.044e-05/0.7917, allocations: 7.922 kB / 0.9557 GB, free: 6.668 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.725e-05/0.7917, allocations: 4.938 kB / 0.9557 GB, free: 6.664 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004563/0.7922, allocations: 101.6 kB / 0.9558 GB, free: 6.594 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.921e-05/0.7923, allocations: 60.81 kB / 0.9558 GB, free: 6.559 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.324e-05/0.7924, allocations: 17.23 kB / 0.9559 GB, free: 6.547 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.482e-05/0.7925, allocations: 37.22 kB / 0.9559 GB, free: 6.523 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.248e-05/0.7926, allocations: 31.09 kB / 0.9559 GB, free: 6.504 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.629e-05/0.7926, allocations: 3.469 kB / 0.9559 GB, free: 6.504 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001585/0.7927, allocations: 84.66 kB / 0.956 GB, free: 6.461 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.135e-05/0.7928, allocations: 19.22 kB / 0.956 GB, free: 6.445 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.25e-05/0.7928, allocations: 35.39 kB / 0.9561 GB, free: 6.41 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001521/0.793, allocations: 94.61 kB / 0.9562 GB, free: 6.352 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.793, allocations: 0.875 kB / 0.9562 GB, free: 6.352 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.124e-06/0.793, allocations: 0 / 0.9562 GB, free: 6.352 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.409e-06/0.793, allocations: 0 / 0.9562 GB, free: 6.352 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.0005241/0.7935, allocations: 414 kB / 0.9565 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.356e-05/0.7936, allocations: 9.031 kB / 0.9566 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.372e-05/0.7936, allocations: 35.77 kB / 0.9566 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.439e-05/0.7937, allocations: 15.58 kB / 0.9566 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.942e-05/0.7937, allocations: 167.4 kB / 0.9568 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.642e-05/0.7938, allocations: 6.812 kB / 0.9568 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.854e-05/0.7938, allocations: 3.438 kB / 0.9568 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001744/0.794, allocations: 70.81 kB / 0.9568 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.794, allocations: 0 / 0.9568 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.139e-05/0.794, allocations: 3.938 kB / 0.9568 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.022e-06/0.794, allocations: 9.156 kB / 0.9569 GB, free: 5.598 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001374/0.7942, allocations: 45.88 kB / 0.9569 GB, free: 5.578 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005299/0.7947, allocations: 326.5 kB / 0.9572 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000119/0.7948, allocations: 50.81 kB / 0.9573 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.33e-05/0.7949, allocations: 42.81 kB / 0.9573 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.225e-05/0.795, allocations: 0 / 0.9573 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001964/0.7952, allocations: 88.11 kB / 0.9574 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.422e-06/0.7952, allocations: 0 / 0.9574 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0003879/0.7956, allocations: 148.3 kB / 0.9575 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.521e-05/0.7956, allocations: 53.47 kB / 0.9576 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.15e-05/0.7957, allocations: 124 kB / 0.9577 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.652e-05/0.7957, allocations: 31.86 kB / 0.9577 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.625e-05/0.7958, allocations: 86.36 kB / 0.9578 GB, free: 4.719 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.187e-05/0.7958, allocations: 20.64 kB / 0.9578 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.232e-06/0.7958, allocations: 0 / 0.9578 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.922e-05/0.7959, allocations: 320.2 kB / 0.9581 GB, free: 4.383 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.765e-05/0.796, allocations: 28.47 kB / 0.9582 GB, free: 4.371 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.87e-05/0.7961, allocations: 47.53 kB / 0.9582 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.841e-05/0.7962, allocations: 42.48 kB / 0.9582 GB, free: 4.312 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.7962, allocations: 1.375 kB / 0.9582 GB, free: 4.312 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002395/0.7964, allocations: 117.8 kB / 0.9584 GB, free: 4.242 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.19e-05/0.7965, allocations: 13.23 kB / 0.9584 GB, free: 4.234 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.109e-05/0.7965, allocations: 0 / 0.9584 GB, free: 4.234 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.445e-05/0.7965, allocations: 1.781 kB / 0.9584 GB, free: 4.234 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001076/0.7966, allocations: 21.02 kB / 0.9584 GB, free: 4.223 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.539e-05/0.7966, allocations: 1.812 kB / 0.9584 GB, free: 4.223 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.516e-05/0.7967, allocations: 13.22 kB / 0.9584 GB, free: 4.215 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.342e-05/0.7967, allocations: 3.594 kB / 0.9584 GB, free: 4.215 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 7.749e-05/0.7968, allocations: 119.2 kB / 0.9585 GB, free: 4.094 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.577e-05/0.7968, allocations: 9.703 kB / 0.9585 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.016e-05/0.7969, allocations: 14.36 kB / 0.9585 GB, free: 4.07 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/0.7969, allocations: 6.312 kB / 0.9586 GB, free: 4.066 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.7969, allocations: 0 / 0.9586 GB, free: 4.066 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.7969, allocations: 0 / 0.9586 GB, free: 4.066 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003803/0.7973, allocations: 384.1 kB / 0.9589 GB, free: 3.699 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.7973, allocations: 0 / 0.9589 GB, free: 3.699 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.071e-05/0.7973, allocations: 12.3 kB / 0.9589 GB, free: 3.691 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.7974, allocations: 4 kB / 0.9589 GB, free: 3.688 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.103e-05/0.7974, allocations: 4.984 kB / 0.9589 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.7974, allocations: 1.156 kB / 0.9589 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.7974, allocations: 0 / 0.9589 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002436/0.7976, allocations: 203.3 kB / 0.9591 GB, free: 3.523 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.287e-05/0.7977, allocations: 90.91 kB / 0.9592 GB, free: 3.418 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.957e-05/0.7977, allocations: 9.047 kB / 0.9592 GB, free: 3.41 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.452e-05/0.7978, allocations: 4.625 kB / 0.9592 GB, free: 3.41 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.22e-05/0.7978, allocations: 6.891 kB / 0.9592 GB, free: 3.406 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.537e-06/0.7978, allocations: 1.781 kB / 0.9592 GB, free: 3.406 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.899e-05/0.7979, allocations: 92.83 kB / 0.9593 GB, free: 3.324 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.41e-07/0.7979, allocations: 0 / 0.9593 GB, free: 3.324 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003287/0.7982, allocations: 35.56 kB / 0.9594 GB, free: 3.316 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.0006936/0.7989, allocations: 0.8277 MB / 0.9602 GB, free: 2.57 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002288/0.7992, allocations: 87.03 kB / 0.9603 GB, free: 2.531 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.7992, allocations: 0 / 0.9603 GB, free: 2.531 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.166e-05/0.7993, allocations: 34.55 kB / 0.9603 GB, free: 2.52 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002632/0.7995, allocations: 15.8 kB / 0.9603 GB, free: 2.508 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009281/0.8005, allocations: 0.5869 MB / 0.9609 GB, free: 2.023 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001266/0.8006, allocations: 0.6878 MB / 0.9615 GB, free: 1.32 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.794e-05/0.8007, allocations: 8.297 kB / 0.9616 GB, free: 1.316 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.861e-05/0.8007, allocations: 22.19 kB / 0.9616 GB, free: 1.297 MB / 0.7169 GB Notification: Performance of SimCode: time 2.6e-07/0.8007, allocations: 0 / 0.9616 GB, free: 1.297 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.013/0.8137, allocations: 2.319 MB / 0.9638 GB, free: 204 kB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001965/0.814, allocations: 247.6 kB / 0.9641 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.92/2.733, allocations: 0 / 0.9641 GB, free: 15.96 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast_res.mat --tempDir=temp_Buildings_9_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsEast_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsEast.fmu > Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast_res.mat does not exist to compare? outputFormat=mat