Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.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.Lighting.Validation.Hunt1979Light,fileNamePrefix="Buildings_9_Buildings_Occupants_Office_Lighting_Validation_Hunt1979Light",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light,fileNamePrefix="Buildings_9_Buildings_Occupants_Office_Lighting_Validation_Hunt1979Light",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.001094/0.001094, allocations: 99.62 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.001089/0.001089, allocations: 177.3 kB / 15.95 MB, free: 216 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.417/1.417, allocations: 223.2 MB / 239.9 MB, free: 5.367 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.501/2.501, allocations: 390.3 MB / 0.6653 GB, free: 3.031 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003668/0.0003669, allocations: 8 kB / 0.8146 GB, free: 14.26 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8355/0.8359, allocations: 142.3 MB / 0.9536 GB, free: 8.113 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light): time 0.001398/0.8373, allocations: 1.21 MB / 0.9548 GB, free: 7.156 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001023/0.8384, allocations: 0.7086 MB / 0.9555 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.831e-05/0.8384, allocations: 0 / 0.9555 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.808e-05/0.8384, allocations: 1.438 kB / 0.9555 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.309e-05/0.8385, allocations: 18.41 kB / 0.9555 GB, free: 6.598 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003894/0.8389, allocations: 99.44 kB / 0.9556 GB, free: 6.527 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.804e-05/0.839, allocations: 58.73 kB / 0.9556 GB, free: 6.488 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.121e-05/0.8391, allocations: 5.656 kB / 0.9556 GB, free: 6.488 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.444e-05/0.8392, allocations: 42.77 kB / 0.9557 GB, free: 6.461 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.127e-05/0.8393, allocations: 27.16 kB / 0.9557 GB, free: 6.445 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.468e-05/0.8393, allocations: 3.406 kB / 0.9557 GB, free: 6.445 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000145/0.8394, allocations: 75.98 kB / 0.9558 GB, free: 6.406 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.193e-05/0.8395, allocations: 14.67 kB / 0.9558 GB, free: 6.395 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.221e-05/0.8395, allocations: 40.8 kB / 0.9558 GB, free: 6.355 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001484/0.8397, allocations: 106.3 kB / 0.9559 GB, free: 6.289 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.053e-06/0.8397, allocations: 0 / 0.9559 GB, free: 6.289 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.983e-06/0.8397, allocations: 0 / 0.9559 GB, free: 6.289 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.417e-06/0.8397, allocations: 0 / 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006201/0.8403, allocations: 468.2 kB / 0.9564 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.69e-05/0.8404, allocations: 9.656 kB / 0.9564 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.656e-05/0.8404, allocations: 40.73 kB / 0.9564 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.463e-05/0.8405, allocations: 12.8 kB / 0.9564 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.211e-05/0.8405, allocations: 174.3 kB / 0.9566 GB, free: 5.559 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.429e-05/0.8406, allocations: 34.97 kB / 0.9566 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.753e-05/0.8406, allocations: 7.906 kB / 0.9566 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001938/0.8408, allocations: 80.39 kB / 0.9567 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.185e-06/0.8409, allocations: 3.984 kB / 0.9567 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.313e-05/0.8409, allocations: 1.188 kB / 0.9567 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-06/0.8409, allocations: 5.234 kB / 0.9567 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001838/0.8411, allocations: 59.05 kB / 0.9568 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004672/0.8416, allocations: 315 kB / 0.9571 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002009/0.8418, allocations: 82.19 kB / 0.9572 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.327e-05/0.8418, allocations: 5.359 kB / 0.9572 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002228/0.842, allocations: 102.9 kB / 0.9573 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=10): time 1.493e-06/0.842, allocations: 0 / 0.9573 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of matching and sorting (n=10): time 0.0004658/0.8425, allocations: 173.3 kB / 0.9574 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.915e-05/0.8425, allocations: 61.78 kB / 0.9575 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.592e-05/0.8426, allocations: 134.3 kB / 0.9576 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.451e-05/0.8427, allocations: 31.11 kB / 0.9577 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.512e-05/0.8427, allocations: 99.08 kB / 0.9577 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.07e-05/0.8427, allocations: 15.59 kB / 0.9578 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.172e-06/0.8427, allocations: 0 / 0.9578 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.413e-05/0.8428, allocations: 321.3 kB / 0.9581 GB, free: 4.191 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001043/0.8429, allocations: 34.23 kB / 0.9581 GB, free: 4.176 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001129/0.843, allocations: 71.09 kB / 0.9582 GB, free: 4.109 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001097/0.8431, allocations: 47.22 kB / 0.9582 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.165e-06/0.8431, allocations: 0 / 0.9582 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002742/0.8434, allocations: 136.8 kB / 0.9583 GB, free: 4.004 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.655e-05/0.8434, allocations: 9.922 kB / 0.9584 GB, free: 4 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.8435, allocations: 1 kB / 0.9584 GB, free: 4 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.303e-05/0.8435, allocations: 6.375 kB / 0.9584 GB, free: 3.996 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001152/0.8436, allocations: 16.83 kB / 0.9584 GB, free: 3.992 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.256e-06/0.8436, allocations: 6.312 kB / 0.9584 GB, free: 3.988 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001125/0.8437, allocations: 22.3 kB / 0.9584 GB, free: 3.977 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.358e-05/0.8437, allocations: 3.594 kB / 0.9584 GB, free: 3.977 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.lig.curSeed,lig.curSeed,$PRE.lig.on,lig.on,$whenCondition3,$whenCondition2,lig.sampleTrigger,$whenCondition1,occ.y,$PRE.occ.pulseStart,occ.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.684e-05/0.8438, allocations: 124.2 kB / 0.9585 GB, free: 3.852 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.706e-05/0.8439, allocations: 11.72 kB / 0.9585 GB, free: 3.844 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.263e-05/0.8439, allocations: 15.86 kB / 0.9586 GB, free: 3.828 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.8439, allocations: 0 / 0.9586 GB, free: 3.828 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.8439, allocations: 1.781 kB / 0.9586 GB, free: 3.828 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.796e-06/0.8439, allocations: 0 / 0.9586 GB, free: 3.828 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005173/0.8444, allocations: 443 kB / 0.959 GB, free: 3.426 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.8445, allocations: 9.516 kB / 0.959 GB, free: 3.418 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.36e-05/0.8445, allocations: 11.17 kB / 0.959 GB, free: 3.414 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.8445, allocations: 0 / 0.959 GB, free: 3.414 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.225e-05/0.8446, allocations: 1.188 kB / 0.959 GB, free: 3.414 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.8446, allocations: 1.062 kB / 0.959 GB, free: 3.414 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.8446, allocations: 0 / 0.959 GB, free: 3.414 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002992/0.8449, allocations: 234.5 kB / 0.9592 GB, free: 3.23 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.901e-05/0.8449, allocations: 91.92 kB / 0.9593 GB, free: 3.125 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.51e-05/0.8449, allocations: 5.188 kB / 0.9593 GB, free: 3.121 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001322/0.8451, allocations: 13.48 kB / 0.9593 GB, free: 3.117 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.293e-05/0.8451, allocations: 16.3 kB / 0.9593 GB, free: 3.105 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.738e-05/0.8451, allocations: 7.203 kB / 0.9593 GB, free: 3.102 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.446e-05/0.8452, allocations: 106.9 kB / 0.9595 GB, free: 3.012 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.31e-07/0.8452, allocations: 0 / 0.9595 GB, free: 3.012 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003191/0.8455, allocations: 38.56 kB / 0.9595 GB, free: 3.004 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: 8 (occ.y,lig.sampleTrigger,$whenCondition3,$whenCondition2,$whenCondition1,lig.on,lig.curSeed,occ.pulseStart) * Number of discrete states: 1 (lig.on) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 7 * 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.0006555/0.8462, allocations: 0.8257 MB / 0.9603 GB, free: 2.266 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002747/0.8465, allocations: 98.88 kB / 0.9604 GB, free: 2.223 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.8465, allocations: 0 / 0.9604 GB, free: 2.223 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001251/0.8466, allocations: 48.84 kB / 0.9604 GB, free: 2.203 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002023/0.8468, allocations: 10.81 kB / 0.9604 GB, free: 2.199 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007728/0.8476, allocations: 1.21 MB / 0.9616 GB, free: 0.9922 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001081/0.8477, allocations: 0.7061 MB / 0.9623 GB, free: 284 kB / 0.7169 GB Notification: Performance of simCode: alias equations: time 5.177e-05/0.8478, allocations: 10.11 kB / 0.9623 GB, free: 280 kB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.806e-05/0.8478, allocations: 27.55 kB / 0.9624 GB, free: 256 kB / 0.7169 GB Notification: Performance of SimCode: time 3.6e-07/0.8478, allocations: 0 / 0.9624 GB, free: 256 kB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01365/0.8615, allocations: 2.703 MB / 0.965 GB, free: 14.95 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002609/0.8618, allocations: 228.5 kB / 0.9652 GB, free: 14.71 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.745/2.607, allocations: 7.625 kB / 0.9652 GB, free: 14.71 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light_res.mat --tempDir=temp_Buildings_9_Buildings_Occupants_Office_Lighting_Validation_Hunt1979Light_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Occupants_Office_Lighting_Validation_Hunt1979Light.fmu > Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light_res.mat does not exist to compare? outputFormat=mat