Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.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 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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.Reinhart2003Light,fileNamePrefix="Buildings_latest_Buildings_Occupants_Office_Lighting_Validation_Reinhart2003Light",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light,fileNamePrefix="Buildings_latest_Buildings_Occupants_Office_Lighting_Validation_Reinhart2003Light",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.001027/0.001027, allocations: 86.95 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.001268/0.001268, 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.497/1.497, allocations: 223.3 MB / 240 MB, free: 5.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.488/2.488, allocations: 409.4 MB / 0.684 GB, free: 0.8906 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0004667/0.0004669, allocations: 8 kB / 0.8378 GB, free: 6.484 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8354/0.8359, allocations: 146.8 MB / 0.9811 GB, free: 6.391 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light): time 0.001661/0.8376, allocations: 1.241 MB / 0.9823 GB, free: 5.145 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001177/0.8388, allocations: 0.7134 MB / 0.983 GB, free: 4.422 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.809e-05/0.8388, allocations: 0 / 0.983 GB, free: 4.422 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.842e-05/0.8389, allocations: 7.938 kB / 0.983 GB, free: 4.414 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 8.66e-05/0.839, allocations: 15.8 kB / 0.9831 GB, free: 4.398 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004366/0.8394, allocations: 103.8 kB / 0.9832 GB, free: 4.297 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.000121/0.8396, allocations: 95.62 kB / 0.9832 GB, free: 4.203 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 8.773e-05/0.8396, allocations: 15.97 kB / 0.9833 GB, free: 4.188 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 8.594e-05/0.8397, allocations: 35.86 kB / 0.9833 GB, free: 4.152 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 7.231e-05/0.8398, allocations: 47.81 kB / 0.9833 GB, free: 4.105 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.631e-05/0.8399, allocations: 4 kB / 0.9833 GB, free: 4.102 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001753/0.84, allocations: 91.84 kB / 0.9834 GB, free: 4.012 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 3.361e-05/0.8401, allocations: 15.92 kB / 0.9835 GB, free: 3.996 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 4.107e-05/0.8401, allocations: 37.64 kB / 0.9835 GB, free: 3.953 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001681/0.8403, allocations: 110.2 kB / 0.9836 GB, free: 3.848 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.562e-06/0.8403, allocations: 4 kB / 0.9836 GB, free: 3.844 MB / 0.7325 GB Notification: Performance of FrontEnd: time 8.62e-07/0.8403, allocations: 0 / 0.9836 GB, free: 3.844 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 3.897e-06/0.8403, allocations: 0 / 0.9836 GB, free: 3.844 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0007734/0.8411, allocations: 496.2 kB / 0.9841 GB, free: 3.293 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 6.191e-05/0.8412, allocations: 8.031 kB / 0.9841 GB, free: 3.285 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.652e-05/0.8412, allocations: 34.55 kB / 0.9841 GB, free: 3.242 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.726e-05/0.8413, allocations: 15.81 kB / 0.9841 GB, free: 3.227 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001608/0.8414, allocations: 180.2 kB / 0.9843 GB, free: 3.012 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.835e-05/0.8415, allocations: 8 kB / 0.9843 GB, free: 3.004 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.612e-05/0.8415, allocations: 19.92 kB / 0.9843 GB, free: 2.984 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002016/0.8417, allocations: 81.64 kB / 0.9844 GB, free: 2.898 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.8417, allocations: 0 / 0.9844 GB, free: 2.898 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.409e-05/0.8418, allocations: 4 kB / 0.9844 GB, free: 2.895 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.562e-06/0.8418, allocations: 4 kB / 0.9844 GB, free: 2.891 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001458/0.8419, allocations: 51.91 kB / 0.9845 GB, free: 2.84 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005939/0.8425, allocations: 336.7 kB / 0.9848 GB, free: 2.461 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002037/0.8427, allocations: 78.67 kB / 0.9849 GB, free: 2.375 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001025/0.8429, allocations: 52.86 kB / 0.9849 GB, free: 2.32 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.32e-05/0.8429, allocations: 0 / 0.9849 GB, free: 2.32 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002423/0.8431, allocations: 99.3 kB / 0.985 GB, free: 2.211 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=11): time 1.413e-06/0.8431, allocations: 0 / 0.985 GB, free: 2.211 MB / 0.7325 GB Notification: Performance of matching and sorting (n=11): time 0.0004347/0.8436, allocations: 177.9 kB / 0.9852 GB, free: 2.031 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.793e-05/0.8436, allocations: 63.38 kB / 0.9852 GB, free: 1.957 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000142/0.8438, allocations: 146.4 kB / 0.9854 GB, free: 1.805 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.944e-05/0.8438, allocations: 33.64 kB / 0.9854 GB, free: 1.766 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.786e-05/0.8439, allocations: 100.1 kB / 0.9855 GB, free: 1.664 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.775e-05/0.8439, allocations: 23.66 kB / 0.9855 GB, free: 1.641 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.977e-06/0.8439, allocations: 4 kB / 0.9855 GB, free: 1.637 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001203/0.8441, allocations: 326.8 kB / 0.9858 GB, free: 1.309 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.474e-05/0.8441, allocations: 31.98 kB / 0.9859 GB, free: 1.277 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.821e-05/0.8443, allocations: 70.67 kB / 0.9859 GB, free: 1.191 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.581e-05/0.8444, allocations: 39.98 kB / 0.986 GB, free: 1.152 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.8444, allocations: 0 / 0.986 GB, free: 1.152 MB / 0.7325 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002403/0.8446, allocations: 141.3 kB / 0.9861 GB, free: 1.008 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.626e-05/0.8446, allocations: 4 kB / 0.9861 GB, free: 1.004 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/0.8446, allocations: 4 kB / 0.9861 GB, free: 1 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.444e-05/0.8447, allocations: 0 / 0.9861 GB, free: 1 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001134/0.8448, allocations: 24.02 kB / 0.9861 GB, free: 0.9766 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.78e-06/0.8448, allocations: 4 kB / 0.9861 GB, free: 0.9727 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001001/0.8449, allocations: 19.98 kB / 0.9862 GB, free: 0.9531 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.263e-05/0.8449, allocations: 4 kB / 0.9862 GB, free: 0.9492 MB / 0.7325 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,booleanPulse.y,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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.0001078/0.8451, allocations: 135.1 kB / 0.9863 GB, free: 0.8086 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.741e-05/0.8451, allocations: 12.05 kB / 0.9863 GB, free: 0.7969 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003569/0.8454, allocations: 177.2 kB / 0.9865 GB, free: 0.6172 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.856e-06/0.8455, allocations: 0 / 0.9865 GB, free: 0.6172 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.8455, allocations: 4 kB / 0.9865 GB, free: 0.6133 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.568e-06/0.8455, allocations: 0 / 0.9865 GB, free: 0.6133 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006027/0.8461, allocations: 470.4 kB / 0.9869 GB, free: 100 kB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.8461, allocations: 0 / 0.9869 GB, free: 100 kB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.913e-05/0.8462, allocations: 15.98 kB / 0.9869 GB, free: 84 kB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.8462, allocations: 0 / 0.9869 GB, free: 84 kB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.62e-05/0.8462, allocations: 8 kB / 0.9869 GB, free: 76 kB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.8462, allocations: 0 / 0.9869 GB, free: 76 kB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.8462, allocations: 0 / 0.9869 GB, free: 76 kB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003388/0.8466, allocations: 263.3 kB / 0.9872 GB, free: 15.8 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 5.993e-05/0.8466, allocations: 88.94 kB / 0.9873 GB, free: 15.69 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.51e-05/0.8467, allocations: 4 kB / 0.9873 GB, free: 15.69 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001154/0.8468, allocations: 12 kB / 0.9873 GB, free: 15.68 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.012e-05/0.8468, allocations: 15.8 kB / 0.9873 GB, free: 15.66 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.1e-05/0.8469, allocations: 8 kB / 0.9873 GB, free: 15.66 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 7.777e-05/0.847, allocations: 118.3 kB / 0.9874 GB, free: 15.54 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.31e-07/0.847, allocations: 0 / 0.9874 GB, free: 15.54 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0003215/0.8473, allocations: 44 kB / 0.9875 GB, free: 15.5 MB / 0.7481 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 (booleanPulse.y,lig.sampleTrigger,$whenCondition3,$whenCondition2,$whenCondition1,lig.on,lig.curSeed,booleanPulse.pulseStart) * Number of discrete states: 1 (lig.on) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 11 * 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.0008784/0.8482, allocations: 0.8409 MB / 0.9883 GB, free: 14.65 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0002647/0.8485, allocations: 99.89 kB / 0.9884 GB, free: 14.55 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.8485, allocations: 0 / 0.9884 GB, free: 14.55 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001195/0.8486, allocations: 57.47 kB / 0.9884 GB, free: 14.5 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003119/0.8489, allocations: 23.98 kB / 0.9885 GB, free: 14.47 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001227/0.8501, allocations: 0.7537 MB / 0.9892 GB, free: 13.66 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002856/0.8504, allocations: 0.7002 MB / 0.9899 GB, free: 12.93 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 5.73e-05/0.8505, allocations: 16.53 kB / 0.9899 GB, free: 12.91 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.618e-05/0.8506, allocations: 31.42 kB / 0.9899 GB, free: 12.88 MB / 0.7481 GB Notification: Performance of SimCode: time 2.4e-07/0.8506, allocations: 4 kB / 0.9899 GB, free: 12.88 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01511/0.8657, allocations: 3.082 MB / 0.9929 GB, free: 9.984 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003091/0.8661, allocations: 237.6 kB / 0.9932 GB, free: 9.711 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.899/2.765, allocations: 5.328 kB / 0.9932 GB, free: 9.707 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light_res.mat --tempDir=temp_Buildings_latest_Buildings_Occupants_Office_Lighting_Validation_Reinhart2003Light_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Occupants_Office_Lighting_Validation_Reinhart2003Light.fmu > Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light_res.mat does not exist to compare? outputFormat=mat