Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1,fileNamePrefix="Buildings_latest_Buildings_Occupants_Office_Lighting_Validation_Love1998Light1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1,fileNamePrefix="Buildings_latest_Buildings_Occupants_Office_Lighting_Validation_Love1998Light1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.387/2.387, allocations: 393.5 MB / 408.4 MB, free: 11.06 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001078/0.001078, allocations: 183.9 kB / 0.4901 GB, free: 2.258 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.665/1.665, allocations: 223.1 MB / 0.7992 GB, free: 14.75 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001175/0.001175, allocations: 96.31 kB / 0.9396 GB, free: 1.977 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.000379/0.000379, allocations: 7.094 kB / 1.09 GB, free: 216.5 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2967/0.2971, allocations: 143 MB / 1.229 GB, free: 105.9 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1956/0.4927, allocations: 152.2 MB / 1.378 GB, free: 1.441 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002658/0.493, allocations: 83.95 kB / 1.378 GB, free: 1.359 MB / 0.8698 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/Occupants/BaseClasses/binaryVariableGeneration.mo:11:3-11:96:writable] Warning: localSeed was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of FrontEnd - DAE generated: time 0.009939/0.503, allocations: 3.227 MB / 1.381 GB, free: 14.12 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.943e-06/0.503, allocations: 0 / 1.381 GB, free: 14.12 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 9.067e-06/0.503, allocations: 0 / 1.381 GB, free: 14.12 MB / 0.8855 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.0006786/0.5037, allocations: 470.4 kB / 1.382 GB, free: 13.61 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.708e-05/0.5038, allocations: 8.562 kB / 1.382 GB, free: 13.6 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.318e-05/0.5038, allocations: 42.55 kB / 1.382 GB, free: 13.55 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.012e-05/0.5039, allocations: 19.8 kB / 1.382 GB, free: 13.53 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000133/0.504, allocations: 167 kB / 1.382 GB, free: 13.32 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.803e-05/0.5041, allocations: 4 kB / 1.382 GB, free: 13.32 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.015e-05/0.5041, allocations: 8 kB / 1.382 GB, free: 13.31 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001803/0.5043, allocations: 81.58 kB / 1.382 GB, free: 13.23 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.935e-06/0.5043, allocations: 0 / 1.382 GB, free: 13.23 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.326e-05/0.5043, allocations: 0 / 1.382 GB, free: 13.23 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.349e-06/0.5043, allocations: 0 / 1.382 GB, free: 13.23 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001343/0.5045, allocations: 43.97 kB / 1.382 GB, free: 13.18 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006409/0.5051, allocations: 336.8 kB / 1.382 GB, free: 12.8 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001518/0.5053, allocations: 66.48 kB / 1.382 GB, free: 12.73 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 2.346e-05/0.5053, allocations: 0 / 1.382 GB, free: 12.73 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002042/0.5055, allocations: 95.36 kB / 1.382 GB, free: 12.62 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=10): time 1.603e-06/0.5055, allocations: 0 / 1.382 GB, free: 12.62 MB / 0.8855 GB Notification: Performance of matching and sorting (n=10): time 0.0004139/0.506, allocations: 169.4 kB / 1.383 GB, free: 12.45 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.416e-05/0.506, allocations: 59.34 kB / 1.383 GB, free: 12.38 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001002/0.5061, allocations: 121 kB / 1.383 GB, free: 12.26 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 2.549e-05/0.5062, allocations: 29.7 kB / 1.383 GB, free: 12.22 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 5.798e-05/0.5062, allocations: 92.28 kB / 1.383 GB, free: 12.12 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 2.949e-05/0.5063, allocations: 23.89 kB / 1.383 GB, free: 12.1 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.106e-06/0.5063, allocations: 4 kB / 1.383 GB, free: 12.1 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001071/0.5064, allocations: 318.8 kB / 1.383 GB, free: 11.78 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.817e-05/0.5065, allocations: 23.98 kB / 1.383 GB, free: 11.75 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.931e-05/0.5066, allocations: 85 kB / 1.383 GB, free: 11.66 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.831e-05/0.5067, allocations: 27.98 kB / 1.383 GB, free: 11.63 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.979e-06/0.5067, allocations: 4 kB / 1.383 GB, free: 11.62 MB / 0.8855 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002468/0.5069, allocations: 137.3 kB / 1.383 GB, free: 11.48 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.837e-05/0.507, allocations: 4 kB / 1.384 GB, free: 11.48 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.478e-06/0.507, allocations: 7.984 kB / 1.384 GB, free: 11.47 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.361e-05/0.507, allocations: 0 / 1.384 GB, free: 11.47 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001175/0.5071, allocations: 19.92 kB / 1.384 GB, free: 11.45 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.055e-05/0.5071, allocations: 7.953 kB / 1.384 GB, free: 11.45 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001081/0.5073, allocations: 12.12 kB / 1.384 GB, free: 11.43 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.751e-05/0.5073, allocations: 11.98 kB / 1.384 GB, free: 11.42 MB / 0.8855 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,lig.occ,$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 0.0001053/0.5074, allocations: 122.8 kB / 1.384 GB, free: 11.29 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.91e-05/0.5074, allocations: 11.84 kB / 1.384 GB, free: 11.28 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003163/0.5077, allocations: 146.1 kB / 1.384 GB, free: 11.13 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.112e-06/0.5078, allocations: 7.984 kB / 1.384 GB, free: 11.12 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.197e-06/0.5078, allocations: 0 / 1.384 GB, free: 11.12 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.5078, allocations: 3.953 kB / 1.384 GB, free: 11.12 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005585/0.5083, allocations: 434.3 kB / 1.384 GB, free: 10.64 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.5084, allocations: 4 kB / 1.384 GB, free: 10.64 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.961e-05/0.5084, allocations: 8 kB / 1.384 GB, free: 10.63 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.386e-06/0.5084, allocations: 0 / 1.384 GB, free: 10.63 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.646e-05/0.5085, allocations: 11.94 kB / 1.384 GB, free: 10.62 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.5085, allocations: 4 kB / 1.384 GB, free: 10.61 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.5085, allocations: 0 / 1.384 GB, free: 10.61 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002977/0.5088, allocations: 231.3 kB / 1.385 GB, free: 10.37 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 4.76e-05/0.5088, allocations: 88.94 kB / 1.385 GB, free: 10.27 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.491e-05/0.5089, allocations: 8 kB / 1.385 GB, free: 10.26 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001288/0.509, allocations: 19.94 kB / 1.385 GB, free: 10.24 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.84e-05/0.5091, allocations: 7.984 kB / 1.385 GB, free: 10.23 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.348e-05/0.5091, allocations: 8.375 kB / 1.385 GB, free: 10.22 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 5.417e-05/0.5091, allocations: 91.27 kB / 1.385 GB, free: 10.13 MB / 0.8855 GB Notification: Performance of sort global known variables: time 2e-07/0.5092, allocations: 4 kB / 1.385 GB, free: 10.13 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0003264/0.5095, allocations: 51.98 kB / 1.385 GB, free: 10.08 MB / 0.8855 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 (lig.occ,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.0008335/0.5103, allocations: 0.8386 MB / 1.386 GB, free: 9.227 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0002344/0.5106, allocations: 83.89 kB / 1.386 GB, free: 9.145 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.5106, allocations: 0 / 1.386 GB, free: 9.145 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.000106/0.5107, allocations: 47.91 kB / 1.386 GB, free: 9.098 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002099/0.5109, allocations: 21.14 kB / 1.386 GB, free: 9.078 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001009/0.5119, allocations: 1.24 MB / 1.387 GB, free: 7.762 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002229/0.5122, allocations: 0.6926 MB / 1.388 GB, free: 7.043 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 5.005e-05/0.5122, allocations: 8.609 kB / 1.388 GB, free: 7.035 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.609e-05/0.5123, allocations: 31.42 kB / 1.388 GB, free: 7.004 MB / 0.8855 GB Notification: Performance of SimCode: time 4.21e-07/0.5123, allocations: 0 / 1.388 GB, free: 7.004 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01437/0.5267, allocations: 2.9 MB / 1.39 GB, free: 4.266 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002249/0.527, allocations: 230.4 kB / 1.391 GB, free: 4.027 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.684/2.211, allocations: 0 / 1.391 GB, free: 4.027 MB / 0.8855 GB (rm -f Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1_res.mat --tempDir=temp_Buildings_latest_Buildings_Occupants_Office_Lighting_Validation_Love1998Light1_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Occupants_Office_Lighting_Validation_Love1998Light1.fmu > Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1_res.mat does not exist to compare? outputFormat=mat