Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.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.Love1998Light1,fileNamePrefix="Buildings_9_Buildings_Occupants_Office_Lighting_Validation_Love1998Light1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1,fileNamePrefix="Buildings_9_Buildings_Occupants_Office_Lighting_Validation_Love1998Light1",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.001004/0.001004, allocations: 98.77 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.001004/0.001004, 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.459/1.459, allocations: 223.2 MB / 239.9 MB, free: 5.438 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.386/2.386, allocations: 390.3 MB / 0.6653 GB, free: 2.984 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000369/0.0003691, allocations: 11.98 kB / 0.8146 GB, free: 14.21 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8361/0.8364, allocations: 142.3 MB / 0.9536 GB, free: 8.121 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1): time 0.001521/0.838, allocations: 1.199 MB / 0.9548 GB, free: 7.172 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001033/0.8391, allocations: 0.6931 MB / 0.9554 GB, free: 6.645 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.968e-05/0.8391, allocations: 0 / 0.9554 GB, free: 6.645 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.795e-05/0.8391, allocations: 8.703 kB / 0.9554 GB, free: 6.637 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.807e-05/0.8392, allocations: 18.75 kB / 0.9555 GB, free: 6.621 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004072/0.8397, allocations: 95.73 kB / 0.9556 GB, free: 6.555 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.321e-05/0.8398, allocations: 56.64 kB / 0.9556 GB, free: 6.516 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 7.31e-05/0.8398, allocations: 9.422 kB / 0.9556 GB, free: 6.512 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.176e-05/0.8399, allocations: 30.52 kB / 0.9556 GB, free: 6.496 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.816e-05/0.84, allocations: 40.33 kB / 0.9557 GB, free: 6.469 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.308e-05/0.84, allocations: 2.906 kB / 0.9557 GB, free: 6.469 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001332/0.8401, allocations: 74.45 kB / 0.9558 GB, free: 6.43 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.896e-05/0.8402, allocations: 16.11 kB / 0.9558 GB, free: 6.418 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.838e-05/0.8402, allocations: 30.61 kB / 0.9558 GB, free: 6.387 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001305/0.8403, allocations: 101.3 kB / 0.9559 GB, free: 6.324 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.575e-06/0.8403, allocations: 0 / 0.9559 GB, free: 6.324 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.482e-06/0.8404, allocations: 1.094 kB / 0.9559 GB, free: 6.324 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.624e-06/0.8404, allocations: 0 / 0.9559 GB, free: 6.324 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.0005165/0.8409, allocations: 453.2 kB / 0.9563 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.552e-05/0.8409, allocations: 9.594 kB / 0.9563 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.975e-05/0.841, allocations: 47.39 kB / 0.9564 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.907e-05/0.841, allocations: 11.83 kB / 0.9564 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.979e-05/0.8411, allocations: 172.6 kB / 0.9566 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.368e-05/0.8411, allocations: 6.969 kB / 0.9566 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.593e-05/0.8411, allocations: 2.781 kB / 0.9566 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001519/0.8413, allocations: 79.11 kB / 0.9566 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.024e-06/0.8413, allocations: 3.938 kB / 0.9567 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.094e-05/0.8413, allocations: 1.25 kB / 0.9567 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.8413, allocations: 1.469 kB / 0.9567 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001216/0.8415, allocations: 48.55 kB / 0.9567 GB, free: 5.5 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004205/0.8419, allocations: 321.4 kB / 0.957 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000128/0.842, allocations: 62.16 kB / 0.9571 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.437e-05/0.842, allocations: 9.016 kB / 0.9571 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001992/0.8423, allocations: 105.1 kB / 0.9572 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=10): time 1.463e-06/0.8423, allocations: 0 / 0.9572 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of matching and sorting (n=10): time 0.0003523/0.8426, allocations: 163.5 kB / 0.9573 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.6e-05/0.8427, allocations: 53.66 kB / 0.9574 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.216e-05/0.8427, allocations: 127.8 kB / 0.9575 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.235e-05/0.8428, allocations: 30.45 kB / 0.9575 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.364e-05/0.8428, allocations: 95.89 kB / 0.9576 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.119e-05/0.8428, allocations: 23.09 kB / 0.9576 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.072e-06/0.8428, allocations: 0 / 0.9576 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.897e-05/0.8429, allocations: 322.6 kB / 0.958 GB, free: 4.289 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.187e-05/0.843, allocations: 31.61 kB / 0.958 GB, free: 4.273 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.606e-05/0.8431, allocations: 72.59 kB / 0.9581 GB, free: 4.207 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.95e-05/0.8431, allocations: 35.55 kB / 0.9581 GB, free: 4.191 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.8432, allocations: 5.156 kB / 0.9581 GB, free: 4.188 MB / 0.7169 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002113/0.8434, allocations: 133.7 kB / 0.9582 GB, free: 4.105 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.66e-05/0.8434, allocations: 7 kB / 0.9582 GB, free: 4.105 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.8434, allocations: 2.406 kB / 0.9582 GB, free: 4.105 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.392e-05/0.8434, allocations: 6.234 kB / 0.9582 GB, free: 4.102 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001051/0.8435, allocations: 19.64 kB / 0.9583 GB, free: 4.094 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.041e-06/0.8435, allocations: 1.438 kB / 0.9583 GB, free: 4.094 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001003/0.8437, allocations: 26.3 kB / 0.9583 GB, free: 4.078 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.235e-05/0.8437, allocations: 3.688 kB / 0.9583 GB, free: 4.078 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 6.83e-05/0.8437, allocations: 121.3 kB / 0.9584 GB, free: 3.957 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.638e-05/0.8438, allocations: 12.22 kB / 0.9584 GB, free: 3.949 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000277/0.8441, allocations: 157.2 kB / 0.9586 GB, free: 3.848 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/0.8441, allocations: 5.828 kB / 0.9586 GB, free: 3.844 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.948e-06/0.8441, allocations: 4 kB / 0.9586 GB, free: 3.84 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.8441, allocations: 0 / 0.9586 GB, free: 3.84 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004329/0.8445, allocations: 425.7 kB / 0.959 GB, free: 3.457 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-06/0.8445, allocations: 1.406 kB / 0.959 GB, free: 3.457 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.595e-05/0.8446, allocations: 16.42 kB / 0.959 GB, free: 3.449 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.8446, allocations: 3.953 kB / 0.959 GB, free: 3.445 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.27e-05/0.8446, allocations: 6.438 kB / 0.959 GB, free: 3.441 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.8446, allocations: 0 / 0.959 GB, free: 3.441 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/0.8446, allocations: 2 kB / 0.959 GB, free: 3.441 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002263/0.8449, allocations: 230.5 kB / 0.9592 GB, free: 3.262 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.126e-05/0.8449, allocations: 86.8 kB / 0.9593 GB, free: 3.16 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.286e-05/0.8449, allocations: 5.859 kB / 0.9593 GB, free: 3.156 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000112/0.8451, allocations: 15.23 kB / 0.9593 GB, free: 3.148 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.003e-05/0.8451, allocations: 9.422 kB / 0.9593 GB, free: 3.145 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.577e-05/0.8451, allocations: 7.578 kB / 0.9593 GB, free: 3.141 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.613e-05/0.8452, allocations: 98.02 kB / 0.9594 GB, free: 3.055 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8452, allocations: 0 / 0.9594 GB, free: 3.055 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003041/0.8455, allocations: 44.22 kB / 0.9595 GB, free: 3.043 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 (12): * Single equations (assignments): 9 * 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.0005765/0.8461, allocations: 0.8315 MB / 0.9603 GB, free: 2.297 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002005/0.8463, allocations: 88.08 kB / 0.9604 GB, free: 2.262 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.8463, allocations: 1.375 kB / 0.9604 GB, free: 2.262 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.355e-05/0.8464, allocations: 52.84 kB / 0.9604 GB, free: 2.238 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001958/0.8466, allocations: 19.06 kB / 0.9604 GB, free: 2.227 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006718/0.8473, allocations: 1.21 MB / 0.9616 GB, free: 1.016 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001159/0.8474, allocations: 0.702 MB / 0.9623 GB, free: 312 kB / 0.7169 GB Notification: Performance of simCode: alias equations: time 4.373e-05/0.8474, allocations: 7.438 kB / 0.9623 GB, free: 312 kB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.368e-05/0.8475, allocations: 32.08 kB / 0.9624 GB, free: 284 kB / 0.7169 GB Notification: Performance of SimCode: time 7.21e-07/0.8475, allocations: 0 / 0.9624 GB, free: 284 kB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04292/0.8904, allocations: 2.706 MB / 0.965 GB, free: 14.98 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002007/0.8907, allocations: 229.9 kB / 0.9652 GB, free: 14.75 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.779/2.67, allocations: 4 kB / 0.9652 GB, free: 14.74 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1_res.mat --tempDir=temp_Buildings_9_Buildings_Occupants_Office_Lighting_Validation_Love1998Light1_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Occupants_Office_Lighting_Validation_Love1998Light1.fmu > Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1_res.mat does not exist to compare? outputFormat=mat