Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.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.Herkel2008WindowsTiltedOpen,fileNamePrefix="Buildings_9_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsTiltedOpen",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen,fileNamePrefix="Buildings_9_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsTiltedOpen",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.001019/0.001019, allocations: 86.72 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.001068/0.001068, 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.429/1.429, allocations: 223.2 MB / 240 MB, free: 5.406 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.621/2.621, allocations: 390.4 MB / 0.6655 GB, free: 2.883 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003194/0.0003196, allocations: 8 kB / 0.8149 GB, free: 14.11 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6129/0.6133, allocations: 142.3 MB / 0.9539 GB, free: 8.023 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen): time 0.001743/0.6151, allocations: 1.19 MB / 0.955 GB, free: 7.082 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001259/0.6163, allocations: 0.677 MB / 0.9557 GB, free: 6.559 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.435e-05/0.6164, allocations: 1 kB / 0.9557 GB, free: 6.559 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.328e-05/0.6165, allocations: 3.984 kB / 0.9557 GB, free: 6.555 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.392e-05/0.6165, allocations: 13.03 kB / 0.9557 GB, free: 6.543 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005107/0.617, allocations: 100.7 kB / 0.9558 GB, free: 6.473 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000114/0.6172, allocations: 66.11 kB / 0.9559 GB, free: 6.434 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.835e-05/0.6173, allocations: 9.406 kB / 0.9559 GB, free: 6.43 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.365e-05/0.6174, allocations: 28.62 kB / 0.9559 GB, free: 6.414 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.829e-05/0.6174, allocations: 35.45 kB / 0.9559 GB, free: 6.391 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.898e-05/0.6175, allocations: 7.562 kB / 0.9559 GB, free: 6.387 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001818/0.6177, allocations: 84.45 kB / 0.956 GB, free: 6.344 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.208e-05/0.6177, allocations: 14.69 kB / 0.956 GB, free: 6.332 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.349e-05/0.6177, allocations: 42.56 kB / 0.9561 GB, free: 6.289 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001587/0.6179, allocations: 92.94 kB / 0.9562 GB, free: 6.234 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 7.324e-06/0.6179, allocations: 3.984 kB / 0.9562 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.893e-06/0.6179, allocations: 0 / 0.9562 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 9.187e-06/0.6179, allocations: 0 / 0.9562 GB, free: 6.23 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.0005003/0.6184, allocations: 415.9 kB / 0.9566 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.164e-05/0.6185, allocations: 9.094 kB / 0.9566 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.522e-05/0.6185, allocations: 36.42 kB / 0.9566 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.104e-05/0.6186, allocations: 10.92 kB / 0.9566 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.25e-05/0.6187, allocations: 167.2 kB / 0.9568 GB, free: 5.551 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.3e-05/0.6187, allocations: 10.16 kB / 0.9568 GB, free: 5.543 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.639e-05/0.6187, allocations: 3.562 kB / 0.9568 GB, free: 5.543 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001586/0.6189, allocations: 67.06 kB / 0.9569 GB, free: 5.492 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.635e-06/0.6189, allocations: 4 kB / 0.9569 GB, free: 5.488 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.193e-05/0.6189, allocations: 5.422 kB / 0.9569 GB, free: 5.484 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.6189, allocations: 3.953 kB / 0.9569 GB, free: 5.48 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001317/0.6191, allocations: 41.73 kB / 0.9569 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004713/0.6195, allocations: 322.4 kB / 0.9572 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001076/0.6197, allocations: 55.72 kB / 0.9573 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.312e-05/0.6197, allocations: 33.72 kB / 0.9573 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.134e-05/0.6198, allocations: 5.031 kB / 0.9573 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001539/0.6199, allocations: 83.92 kB / 0.9574 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.232e-06/0.6199, allocations: 0 / 0.9574 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.000343/0.6203, allocations: 152.6 kB / 0.9575 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.341e-05/0.6203, allocations: 56.58 kB / 0.9576 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.287e-05/0.6204, allocations: 117.4 kB / 0.9577 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.213e-05/0.6204, allocations: 30.7 kB / 0.9577 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.986e-05/0.6204, allocations: 91.34 kB / 0.9578 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.493e-05/0.6205, allocations: 14.47 kB / 0.9578 GB, free: 4.598 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.131e-06/0.6205, allocations: 0 / 0.9578 GB, free: 4.598 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.78e-05/0.6205, allocations: 320.9 kB / 0.9581 GB, free: 4.277 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.179e-05/0.6206, allocations: 28.55 kB / 0.9582 GB, free: 4.266 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.544e-05/0.6207, allocations: 51.59 kB / 0.9582 GB, free: 4.227 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.313e-05/0.6208, allocations: 38.91 kB / 0.9582 GB, free: 4.207 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.6208, allocations: 5.219 kB / 0.9582 GB, free: 4.203 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001969/0.621, allocations: 113.6 kB / 0.9584 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.335e-05/0.621, allocations: 9.578 kB / 0.9584 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.439e-06/0.621, allocations: 0 / 0.9584 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.148e-05/0.621, allocations: 6.25 kB / 0.9584 GB, free: 4.129 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.734e-05/0.6211, allocations: 21.52 kB / 0.9584 GB, free: 4.117 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.681e-06/0.6211, allocations: 9.281 kB / 0.9584 GB, free: 4.109 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.759e-05/0.6212, allocations: 9.562 kB / 0.9584 GB, free: 4.105 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.153e-05/0.6212, allocations: 2.656 kB / 0.9584 GB, free: 4.105 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 5.947e-05/0.6213, allocations: 119 kB / 0.9585 GB, free: 3.984 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.259e-05/0.6213, allocations: 6.438 kB / 0.9585 GB, free: 3.98 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.32e-05/0.6213, allocations: 13.55 kB / 0.9585 GB, free: 3.965 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.6213, allocations: 1.25 kB / 0.9585 GB, free: 3.965 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.6213, allocations: 5.281 kB / 0.9586 GB, free: 3.961 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.846e-06/0.6213, allocations: 0 / 0.9586 GB, free: 3.961 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003303/0.6217, allocations: 387.5 kB / 0.9589 GB, free: 3.59 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.6217, allocations: 1.438 kB / 0.9589 GB, free: 3.59 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.849e-05/0.6217, allocations: 11.66 kB / 0.9589 GB, free: 3.582 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.355e-06/0.6217, allocations: 1.688 kB / 0.9589 GB, free: 3.582 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.127e-06/0.6217, allocations: 4 kB / 0.9589 GB, free: 3.578 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.6218, allocations: 0 / 0.9589 GB, free: 3.578 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.6218, allocations: 5.734 kB / 0.9589 GB, free: 3.574 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002157/0.622, allocations: 215.1 kB / 0.9591 GB, free: 3.402 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.774e-05/0.622, allocations: 86.61 kB / 0.9592 GB, free: 3.301 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.827e-05/0.622, allocations: 9.328 kB / 0.9592 GB, free: 3.293 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.015e-05/0.6221, allocations: 4.531 kB / 0.9592 GB, free: 3.293 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.341e-05/0.6222, allocations: 5.609 kB / 0.9592 GB, free: 3.289 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.857e-06/0.6222, allocations: 2.875 kB / 0.9593 GB, free: 3.289 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.343e-05/0.6222, allocations: 100.6 kB / 0.9593 GB, free: 3.199 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6222, allocations: 0 / 0.9593 GB, free: 3.199 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002763/0.6225, allocations: 39.77 kB / 0.9594 GB, free: 3.188 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.0005479/0.623, allocations: 0.81 MB / 0.9602 GB, free: 2.457 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000192/0.6232, allocations: 74.8 kB / 0.9602 GB, free: 2.43 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.6233, allocations: 3.312 kB / 0.9603 GB, free: 2.43 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 7.944e-05/0.6233, allocations: 36.55 kB / 0.9603 GB, free: 2.414 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002284/0.6236, allocations: 10.7 kB / 0.9603 GB, free: 2.406 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007878/0.6244, allocations: 0.6005 MB / 0.9609 GB, free: 1.91 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.77e-05/0.6245, allocations: 0.6839 MB / 0.9616 GB, free: 1.211 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.35e-05/0.6245, allocations: 8.297 kB / 0.9616 GB, free: 1.207 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.389e-05/0.6245, allocations: 18.19 kB / 0.9616 GB, free: 1.191 MB / 0.7169 GB Notification: Performance of SimCode: time 2.21e-07/0.6246, allocations: 4 kB / 0.9616 GB, free: 1.188 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01255/0.6371, allocations: 2.332 MB / 0.9639 GB, free: 100 kB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000215/0.6374, allocations: 247.5 kB / 0.9641 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.932/2.57, allocations: 1.688 kB / 0.9641 GB, free: 15.77 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen_res.mat --tempDir=temp_Buildings_9_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsTiltedOpen_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsTiltedOpen.fmu > Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen_res.mat does not exist to compare? outputFormat=mat