Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 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.Love1998Light2,fileNamePrefix="Buildings_latest_Buildings_Occupants_Office_Lighting_Validation_Love1998Light2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2,fileNamePrefix="Buildings_latest_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.001338/0.001338, allocations: 99.16 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.001696/0.001696, 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.447/1.447, allocations: 223.2 MB / 239.9 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.76/2.76, allocations: 409.2 MB / 0.6838 GB, free: 1 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0005011/0.0005013, allocations: 8 kB / 0.8375 GB, free: 6.543 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8476/0.8481, allocations: 146.8 MB / 0.9809 GB, free: 6.312 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2): time 0.001844/0.85, allocations: 1.206 MB / 0.982 GB, free: 5.102 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001167/0.8512, allocations: 0.7017 MB / 0.9827 GB, free: 4.391 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.329e-05/0.8512, allocations: 0 / 0.9827 GB, free: 4.391 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.917e-05/0.8513, allocations: 3.938 kB / 0.9827 GB, free: 4.387 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001017/0.8514, allocations: 15.97 kB / 0.9827 GB, free: 4.371 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004476/0.8518, allocations: 95.75 kB / 0.9828 GB, free: 4.277 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 9.761e-05/0.8519, allocations: 51.88 kB / 0.9829 GB, free: 4.227 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 9.323e-05/0.852, allocations: 15.97 kB / 0.9829 GB, free: 4.211 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 9.977e-05/0.8521, allocations: 27.92 kB / 0.9829 GB, free: 4.184 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 7.05e-05/0.8522, allocations: 39.81 kB / 0.983 GB, free: 4.145 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.533e-05/0.8522, allocations: 4 kB / 0.983 GB, free: 4.141 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001546/0.8524, allocations: 71.81 kB / 0.983 GB, free: 4.07 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.506e-05/0.8524, allocations: 23.97 kB / 0.9831 GB, free: 4.047 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 4.05e-05/0.8525, allocations: 33.64 kB / 0.9831 GB, free: 4.008 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001833/0.8527, allocations: 98.08 kB / 0.9832 GB, free: 3.914 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 2.555e-06/0.8527, allocations: 0 / 0.9832 GB, free: 3.914 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.242e-06/0.8527, allocations: 0 / 0.9832 GB, free: 3.914 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 3.657e-06/0.8527, allocations: 0 / 0.9832 GB, free: 3.914 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0007453/0.8535, allocations: 462.4 kB / 0.9836 GB, free: 3.402 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.175e-05/0.8535, allocations: 8.031 kB / 0.9836 GB, free: 3.395 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.736e-05/0.8536, allocations: 34.56 kB / 0.9837 GB, free: 3.352 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.106e-05/0.8536, allocations: 4 kB / 0.9837 GB, free: 3.348 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001679/0.8538, allocations: 178.9 kB / 0.9838 GB, free: 3.133 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.752e-05/0.8538, allocations: 7.938 kB / 0.9838 GB, free: 3.125 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.693e-05/0.8538, allocations: 4 kB / 0.9839 GB, free: 3.121 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001926/0.854, allocations: 89.47 kB / 0.9839 GB, free: 3.027 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.716e-06/0.854, allocations: 4 kB / 0.9839 GB, free: 3.023 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.353e-05/0.8541, allocations: 0 / 0.9839 GB, free: 3.023 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.631e-06/0.8541, allocations: 0 / 0.9839 GB, free: 3.023 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001433/0.8542, allocations: 43.97 kB / 0.984 GB, free: 2.98 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000551/0.8548, allocations: 328.7 kB / 0.9843 GB, free: 2.609 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001627/0.855, allocations: 62.5 kB / 0.9844 GB, free: 2.539 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.196e-05/0.855, allocations: 8 kB / 0.9844 GB, free: 2.531 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002227/0.8552, allocations: 95.55 kB / 0.9845 GB, free: 2.426 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=10): time 1.493e-06/0.8552, allocations: 4 kB / 0.9845 GB, free: 2.422 MB / 0.7325 GB Notification: Performance of matching and sorting (n=10): time 0.0004215/0.8557, allocations: 165.5 kB / 0.9846 GB, free: 2.254 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.589e-05/0.8557, allocations: 55.39 kB / 0.9847 GB, free: 2.188 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000124/0.8558, allocations: 128.8 kB / 0.9848 GB, free: 2.055 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.17e-05/0.8559, allocations: 29.7 kB / 0.9848 GB, free: 2.02 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 6.284e-05/0.8559, allocations: 92.38 kB / 0.9849 GB, free: 1.922 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.007e-05/0.856, allocations: 31.64 kB / 0.9849 GB, free: 1.891 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.141e-06/0.856, allocations: 0 / 0.9849 GB, free: 1.891 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001506/0.8561, allocations: 314.8 kB / 0.9852 GB, free: 1.574 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.855e-05/0.8562, allocations: 31.97 kB / 0.9853 GB, free: 1.543 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.881e-05/0.8563, allocations: 61.14 kB / 0.9853 GB, free: 1.465 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.804e-05/0.8564, allocations: 43.92 kB / 0.9854 GB, free: 1.422 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.8564, allocations: 0 / 0.9854 GB, free: 1.422 MB / 0.7325 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002622/0.8567, allocations: 141.5 kB / 0.9855 GB, free: 1.277 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/0.8567, allocations: 5.875 kB / 0.9855 GB, free: 1.273 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.208e-06/0.8568, allocations: 4 kB / 0.9855 GB, free: 1.27 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.314e-05/0.8568, allocations: 0 / 0.9855 GB, free: 1.27 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000111/0.8569, allocations: 15.98 kB / 0.9855 GB, free: 1.254 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/0.8569, allocations: 4.375 kB / 0.9855 GB, free: 1.25 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001078/0.857, allocations: 19.89 kB / 0.9856 GB, free: 1.23 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.508e-05/0.857, allocations: 8 kB / 0.9856 GB, free: 1.223 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,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 0.0001241/0.8572, allocations: 127 kB / 0.9857 GB, free: 1.09 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.792e-05/0.8572, allocations: 15.8 kB / 0.9857 GB, free: 1.074 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003211/0.8575, allocations: 149.9 kB / 0.9858 GB, free: 0.918 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.339e-06/0.8575, allocations: 4 kB / 0.9858 GB, free: 0.9141 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.8576, allocations: 0 / 0.9858 GB, free: 0.9141 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/0.8576, allocations: 0 / 0.9858 GB, free: 0.9141 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005996/0.8582, allocations: 450.3 kB / 0.9863 GB, free: 428 kB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.8582, allocations: 0 / 0.9863 GB, free: 428 kB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.786e-05/0.8583, allocations: 15.92 kB / 0.9863 GB, free: 412 kB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.345e-06/0.8583, allocations: 0 / 0.9863 GB, free: 412 kB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.364e-05/0.8583, allocations: 4 kB / 0.9863 GB, free: 408 kB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.8583, allocations: 4 kB / 0.9863 GB, free: 404 kB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.8583, allocations: 0 / 0.9863 GB, free: 404 kB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000291/0.8586, allocations: 231.4 kB / 0.9865 GB, free: 156 kB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.882e-05/0.8586, allocations: 85.02 kB / 0.9866 GB, free: 52 kB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.306e-05/0.8587, allocations: 3.938 kB / 0.9866 GB, free: 48 kB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001168/0.8588, allocations: 19.98 kB / 0.9866 GB, free: 28 kB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.053e-05/0.8589, allocations: 7.984 kB / 0.9866 GB, free: 20 kB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.765e-05/0.8589, allocations: 4 kB / 0.9866 GB, free: 16 kB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001015/0.859, allocations: 103.3 kB / 0.9867 GB, free: 15.91 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.4e-07/0.859, allocations: 0 / 0.9867 GB, free: 15.91 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0003098/0.8593, allocations: 43.94 kB / 0.9868 GB, free: 15.87 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 (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.0008661/0.8602, allocations: 0.8255 MB / 0.9876 GB, free: 15.04 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0002376/0.8604, allocations: 87.89 kB / 0.9877 GB, free: 14.95 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.8604, allocations: 0 / 0.9877 GB, free: 14.95 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001089/0.8606, allocations: 55.91 kB / 0.9877 GB, free: 14.89 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000216/0.8608, allocations: 11.98 kB / 0.9877 GB, free: 14.88 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001163/0.862, allocations: 1.217 MB / 0.9889 GB, free: 13.6 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003106/0.8623, allocations: 0.6965 MB / 0.9896 GB, free: 12.88 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 5.238e-05/0.8623, allocations: 12.42 kB / 0.9896 GB, free: 12.86 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.942e-05/0.8624, allocations: 31.42 kB / 0.9896 GB, free: 12.83 MB / 0.7481 GB Notification: Performance of SimCode: time 2.1e-07/0.8624, allocations: 0 / 0.9896 GB, free: 12.83 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01415/0.8766, allocations: 2.701 MB / 0.9923 GB, free: 10.29 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000196/0.8768, allocations: 240.3 kB / 0.9925 GB, free: 10.05 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.902/2.779, allocations: 0 / 0.9925 GB, free: 10.05 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2_res.mat --tempDir=temp_Buildings_latest_Buildings_Occupants_Office_Lighting_Validation_Love1998Light2_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Occupants_Office_Lighting_Validation_Love1998Light2.fmu > Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2_res.mat does not exist to compare? outputFormat=mat