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.0012/0.0012, allocations: 100.2 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.001447/0.001447, 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.487/1.487, allocations: 223.2 MB / 239.9 MB, free: 5.457 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.727/2.727, allocations: 409.2 MB / 0.6838 GB, free: 0.9922 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00037/0.00037, allocations: 19.97 kB / 0.8375 GB, free: 6.531 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9083/0.9087, allocations: 146.8 MB / 0.9809 GB, free: 6.254 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light): time 0.001894/0.9106, allocations: 1.226 MB / 0.9821 GB, free: 5.023 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001409/0.9121, allocations: 0.721 MB / 0.9828 GB, free: 4.293 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.382e-05/0.9121, allocations: 4 kB / 0.9828 GB, free: 4.289 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.883e-05/0.9122, allocations: 0 / 0.9828 GB, free: 4.289 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001201/0.9123, allocations: 23.89 kB / 0.9828 GB, free: 4.266 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004778/0.9128, allocations: 91.77 kB / 0.9829 GB, free: 4.176 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001163/0.9129, allocations: 59.86 kB / 0.9829 GB, free: 4.117 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001045/0.913, allocations: 19.95 kB / 0.983 GB, free: 4.098 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001197/0.9132, allocations: 43.8 kB / 0.983 GB, free: 4.055 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001117/0.9133, allocations: 47.81 kB / 0.983 GB, free: 4.008 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.03e-05/0.9133, allocations: 4 kB / 0.9831 GB, free: 4.004 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001888/0.9135, allocations: 71.86 kB / 0.9831 GB, free: 3.934 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 3.025e-05/0.9135, allocations: 11.98 kB / 0.9831 GB, free: 3.922 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 5.553e-05/0.9136, allocations: 37.64 kB / 0.9832 GB, free: 3.879 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002193/0.9138, allocations: 118 kB / 0.9833 GB, free: 3.766 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.9138, allocations: 0 / 0.9833 GB, free: 3.766 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.285e-06/0.9139, allocations: 0 / 0.9833 GB, free: 3.766 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.871e-06/0.9139, allocations: 0 / 0.9833 GB, free: 3.766 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.0008767/0.9148, allocations: 0.4884 MB / 0.9838 GB, free: 3.211 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.574e-05/0.9148, allocations: 8.031 kB / 0.9838 GB, free: 3.203 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.094e-05/0.9149, allocations: 34.56 kB / 0.9838 GB, free: 3.16 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.67e-05/0.9149, allocations: 15.81 kB / 0.9838 GB, free: 3.145 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001809/0.9151, allocations: 180.6 kB / 0.984 GB, free: 2.93 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.86e-05/0.9151, allocations: 8 kB / 0.984 GB, free: 2.922 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.191e-05/0.9152, allocations: 11.95 kB / 0.984 GB, free: 2.91 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002149/0.9154, allocations: 77.64 kB / 0.9841 GB, free: 2.828 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.998e-06/0.9154, allocations: 0 / 0.9841 GB, free: 2.828 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.542e-05/0.9154, allocations: 0 / 0.9841 GB, free: 2.828 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.9154, allocations: 0 / 0.9841 GB, free: 2.828 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001559/0.9156, allocations: 59.89 kB / 0.9841 GB, free: 2.77 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006355/0.9162, allocations: 340.7 kB / 0.9845 GB, free: 2.387 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002156/0.9165, allocations: 90.69 kB / 0.9845 GB, free: 2.289 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.291e-05/0.9165, allocations: 4 kB / 0.9846 GB, free: 2.285 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002497/0.9168, allocations: 95.36 kB / 0.9846 GB, free: 2.18 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=11): time 1.343e-06/0.9168, allocations: 0 / 0.9846 GB, free: 2.18 MB / 0.7325 GB Notification: Performance of matching and sorting (n=11): time 0.000443/0.9172, allocations: 177.5 kB / 0.9848 GB, free: 2 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.813e-05/0.9173, allocations: 67.27 kB / 0.9849 GB, free: 1.922 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001301/0.9174, allocations: 146.6 kB / 0.985 GB, free: 1.77 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.101e-05/0.9174, allocations: 25.7 kB / 0.985 GB, free: 1.738 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 7.623e-05/0.9175, allocations: 100.1 kB / 0.9851 GB, free: 1.637 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.141e-05/0.9176, allocations: 27.8 kB / 0.9852 GB, free: 1.609 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.903e-06/0.9176, allocations: 0 / 0.9852 GB, free: 1.609 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001462/0.9177, allocations: 326.8 kB / 0.9855 GB, free: 1.281 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.792e-05/0.9178, allocations: 31.98 kB / 0.9855 GB, free: 1.25 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001077/0.9179, allocations: 70.25 kB / 0.9856 GB, free: 1.164 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.335e-05/0.918, allocations: 39.98 kB / 0.9856 GB, free: 1.125 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/0.918, allocations: 4 kB / 0.9856 GB, free: 1.121 MB / 0.7325 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002624/0.9183, allocations: 141.4 kB / 0.9857 GB, free: 0.9766 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.88e-05/0.9183, allocations: 4 kB / 0.9858 GB, free: 0.9727 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.355e-06/0.9184, allocations: 4 kB / 0.9858 GB, free: 0.9688 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.84e-05/0.9184, allocations: 0 / 0.9858 GB, free: 0.9688 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001215/0.9185, allocations: 27.92 kB / 0.9858 GB, free: 0.9414 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.844e-06/0.9185, allocations: 0 / 0.9858 GB, free: 0.9414 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001041/0.9186, allocations: 20.08 kB / 0.9858 GB, free: 0.9219 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.394e-05/0.9187, allocations: 4 kB / 0.9858 GB, free: 0.918 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.0001191/0.9188, allocations: 135.1 kB / 0.9859 GB, free: 0.7773 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.987e-05/0.9188, allocations: 11.91 kB / 0.9859 GB, free: 0.7656 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003823/0.9192, allocations: 178.2 kB / 0.9861 GB, free: 0.582 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.499e-06/0.9192, allocations: 3.938 kB / 0.9861 GB, free: 0.5781 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.9192, allocations: 0 / 0.9861 GB, free: 0.5781 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.9192, allocations: 4 kB / 0.9861 GB, free: 0.5742 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006268/0.9199, allocations: 462.4 kB / 0.9866 GB, free: 68 kB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.9199, allocations: 4 kB / 0.9866 GB, free: 64 kB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.511e-05/0.92, allocations: 15.98 kB / 0.9866 GB, free: 48 kB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.92, allocations: 0 / 0.9866 GB, free: 48 kB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.616e-05/0.92, allocations: 4 kB / 0.9866 GB, free: 44 kB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.92, allocations: 0 / 0.9866 GB, free: 44 kB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.92, allocations: 3.938 kB / 0.9866 GB, free: 40 kB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000361/0.9204, allocations: 258.3 kB / 0.9868 GB, free: 15.77 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 5.374e-05/0.9204, allocations: 92.94 kB / 0.9869 GB, free: 15.66 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.751e-05/0.9205, allocations: 8 kB / 0.9869 GB, free: 15.66 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001191/0.9206, allocations: 8 kB / 0.9869 GB, free: 15.65 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.604e-05/0.9207, allocations: 15.97 kB / 0.987 GB, free: 15.63 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.002e-05/0.9207, allocations: 4 kB / 0.987 GB, free: 15.63 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 7.814e-05/0.9208, allocations: 112.8 kB / 0.9871 GB, free: 15.52 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.7e-07/0.9208, allocations: 0 / 0.9871 GB, free: 15.52 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0003253/0.9211, allocations: 44 kB / 0.9871 GB, free: 15.48 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.0008834/0.922, allocations: 0.845 MB / 0.9879 GB, free: 14.62 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.000261/0.9223, allocations: 99.89 kB / 0.988 GB, free: 14.52 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.9223, allocations: 0 / 0.988 GB, free: 14.52 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001233/0.9224, allocations: 61.41 kB / 0.9881 GB, free: 14.46 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002407/0.9227, allocations: 22.06 kB / 0.9881 GB, free: 14.45 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001065/0.9237, allocations: 1.252 MB / 0.9893 GB, free: 13.12 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002684/0.924, allocations: 0.7043 MB / 0.99 GB, free: 12.39 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 5.238e-05/0.9241, allocations: 12.55 kB / 0.99 GB, free: 12.38 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.647e-05/0.9242, allocations: 35.42 kB / 0.9901 GB, free: 12.35 MB / 0.7481 GB Notification: Performance of SimCode: time 5.21e-07/0.9242, allocations: 0 / 0.9901 GB, free: 12.35 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01453/0.9387, allocations: 3.062 MB / 0.9931 GB, free: 9.465 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002026/0.939, allocations: 237.3 kB / 0.9933 GB, free: 9.23 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.796/2.735, allocations: 0 / 0.9933 GB, free: 9.23 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