Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.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.Love1998Light2,fileNamePrefix="Buildings_9_Buildings_Occupants_Office_Lighting_Validation_Love1998Light2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2,fileNamePrefix="Buildings_9_Buildings_Occupants_Office_Lighting_Validation_Love1998Light2",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.001021/0.001021, allocations: 100.1 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.0009119/0.0009119, 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.433/1.433, allocations: 223.2 MB / 239.9 MB, free: 5.453 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.425/2.425, allocations: 390.3 MB / 0.6653 GB, free: 2.922 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003595/0.0003595, allocations: 12 kB / 0.8146 GB, free: 14.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7545/0.7549, allocations: 142.3 MB / 0.9536 GB, free: 8.129 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2): time 0.001766/0.7567, allocations: 1.203 MB / 0.9548 GB, free: 7.176 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001186/0.7579, allocations: 0.7009 MB / 0.9554 GB, free: 6.641 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.115e-05/0.758, allocations: 0.9688 kB / 0.9554 GB, free: 6.641 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.629e-05/0.758, allocations: 3.938 kB / 0.9555 GB, free: 6.637 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 9.906e-05/0.7581, allocations: 19.02 kB / 0.9555 GB, free: 6.621 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004195/0.7586, allocations: 94.64 kB / 0.9556 GB, free: 6.555 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.33e-05/0.7587, allocations: 53.83 kB / 0.9556 GB, free: 6.52 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.392e-05/0.7588, allocations: 9.844 kB / 0.9556 GB, free: 6.516 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.819e-05/0.7589, allocations: 38.62 kB / 0.9557 GB, free: 6.492 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.364e-05/0.7589, allocations: 34.52 kB / 0.9557 GB, free: 6.469 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.443e-05/0.759, allocations: 3.719 kB / 0.9557 GB, free: 6.469 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001542/0.7591, allocations: 72.09 kB / 0.9558 GB, free: 6.434 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.264e-05/0.7591, allocations: 17.94 kB / 0.9558 GB, free: 6.418 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.375e-05/0.7592, allocations: 33.02 kB / 0.9558 GB, free: 6.387 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001646/0.7594, allocations: 99.66 kB / 0.9559 GB, free: 6.324 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.7594, allocations: 1.344 kB / 0.9559 GB, free: 6.324 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.224e-06/0.7594, allocations: 0 / 0.9559 GB, free: 6.324 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.474e-06/0.7594, allocations: 4 kB / 0.9559 GB, free: 6.32 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.0005921/0.76, allocations: 453.2 kB / 0.9563 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.229e-05/0.76, allocations: 9.594 kB / 0.9564 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.528e-05/0.7601, allocations: 31.44 kB / 0.9564 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.269e-05/0.7601, allocations: 13.05 kB / 0.9564 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.542e-05/0.7602, allocations: 179.9 kB / 0.9566 GB, free: 5.598 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.605e-05/0.7602, allocations: 9.188 kB / 0.9566 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.635e-05/0.7603, allocations: 4.344 kB / 0.9566 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001594/0.7604, allocations: 79.27 kB / 0.9567 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.244e-06/0.7604, allocations: 0 / 0.9567 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.159e-05/0.7605, allocations: 3.984 kB / 0.9567 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.7605, allocations: 1.312 kB / 0.9567 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001238/0.7606, allocations: 53.95 kB / 0.9567 GB, free: 5.496 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000445/0.761, allocations: 316.4 kB / 0.957 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001314/0.7612, allocations: 69.7 kB / 0.9571 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.163e-05/0.7612, allocations: 6.781 kB / 0.9571 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001892/0.7614, allocations: 99.83 kB / 0.9572 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=10): time 1.342e-06/0.7614, allocations: 1.125 kB / 0.9572 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of matching and sorting (n=10): time 0.0003591/0.7618, allocations: 166.5 kB / 0.9573 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.852e-05/0.7618, allocations: 57.78 kB / 0.9574 GB, free: 4.871 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.415e-05/0.7619, allocations: 128.1 kB / 0.9575 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.284e-05/0.7619, allocations: 26.77 kB / 0.9575 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.559e-05/0.762, allocations: 90.69 kB / 0.9576 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.342e-05/0.762, allocations: 31.41 kB / 0.9577 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.891e-06/0.762, allocations: 1.094 kB / 0.9577 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.796e-05/0.7621, allocations: 317.2 kB / 0.958 GB, free: 4.285 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.059e-05/0.7621, allocations: 36.5 kB / 0.958 GB, free: 4.266 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.681e-05/0.7622, allocations: 68.45 kB / 0.9581 GB, free: 4.203 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.563e-05/0.7623, allocations: 39.67 kB / 0.9581 GB, free: 4.184 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.7623, allocations: 0 / 0.9581 GB, free: 4.184 MB / 0.7169 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002048/0.7625, allocations: 130.9 kB / 0.9582 GB, free: 4.105 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.438e-05/0.7625, allocations: 6.062 kB / 0.9582 GB, free: 4.105 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.66e-06/0.7625, allocations: 1.719 kB / 0.9582 GB, free: 4.105 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.561e-05/0.7626, allocations: 5.359 kB / 0.9582 GB, free: 4.102 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001047/0.7627, allocations: 19.36 kB / 0.9583 GB, free: 4.094 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/0.7627, allocations: 7.344 kB / 0.9583 GB, free: 4.09 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.831e-05/0.7628, allocations: 21.02 kB / 0.9583 GB, free: 4.078 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.204e-05/0.7628, allocations: 4.125 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.838e-05/0.7629, allocations: 122.8 kB / 0.9584 GB, free: 3.957 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.62e-05/0.7629, allocations: 11.72 kB / 0.9584 GB, free: 3.949 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002799/0.7632, allocations: 160.6 kB / 0.9586 GB, free: 3.844 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.477e-06/0.7632, allocations: 5.141 kB / 0.9586 GB, free: 3.84 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/0.7632, allocations: 1.094 kB / 0.9586 GB, free: 3.84 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.7632, allocations: 0 / 0.9586 GB, free: 3.84 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004397/0.7637, allocations: 425.7 kB / 0.959 GB, free: 3.457 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.7637, allocations: 0 / 0.959 GB, free: 3.457 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.116e-05/0.7637, allocations: 9.969 kB / 0.959 GB, free: 3.457 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.426e-06/0.7638, allocations: 3.953 kB / 0.959 GB, free: 3.453 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.314e-05/0.7638, allocations: 17.8 kB / 0.959 GB, free: 3.438 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.7638, allocations: 0 / 0.959 GB, free: 3.438 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.7638, allocations: 1.812 kB / 0.959 GB, free: 3.438 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002283/0.764, allocations: 227.2 kB / 0.9592 GB, free: 3.262 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.652e-05/0.764, allocations: 91.88 kB / 0.9593 GB, free: 3.156 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.228e-05/0.7641, allocations: 3.953 kB / 0.9593 GB, free: 3.152 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001102/0.7642, allocations: 17.23 kB / 0.9593 GB, free: 3.145 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.304e-05/0.7642, allocations: 8.359 kB / 0.9593 GB, free: 3.141 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.512e-05/0.7643, allocations: 3.062 kB / 0.9593 GB, free: 3.141 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.165e-05/0.7643, allocations: 101.9 kB / 0.9594 GB, free: 3.051 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7643, allocations: 1.156 kB / 0.9594 GB, free: 3.051 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000304/0.7646, allocations: 46.42 kB / 0.9595 GB, free: 3.035 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.0006293/0.7653, allocations: 0.8244 MB / 0.9603 GB, free: 2.297 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002058/0.7655, allocations: 89.45 kB / 0.9604 GB, free: 2.262 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.7655, allocations: 0 / 0.9604 GB, free: 2.262 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.553e-05/0.7656, allocations: 53.09 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.0001959/0.7658, allocations: 14.83 kB / 0.9604 GB, free: 2.23 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006723/0.7665, allocations: 1.218 MB / 0.9616 GB, free: 1.012 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001176/0.7666, allocations: 0.6945 MB / 0.9623 GB, free: 316 kB / 0.7169 GB Notification: Performance of simCode: alias equations: time 4.328e-05/0.7666, allocations: 9.922 kB / 0.9623 GB, free: 312 kB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.859e-05/0.7667, allocations: 32.86 kB / 0.9624 GB, free: 284 kB / 0.7169 GB Notification: Performance of SimCode: time 2.21e-07/0.7667, allocations: 4 kB / 0.9624 GB, free: 280 kB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04527/0.812, allocations: 2.693 MB / 0.965 GB, free: 14.99 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002176/0.8122, allocations: 236 kB / 0.9652 GB, free: 14.75 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.751/2.563, allocations: 5.375 kB / 0.9652 GB, free: 14.75 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2_res.mat --tempDir=temp_Buildings_9_Buildings_Occupants_Office_Lighting_Validation_Love1998Light2_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Occupants_Office_Lighting_Validation_Love1998Light2.fmu > Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2_res.mat does not exist to compare? outputFormat=mat