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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009554/0.0009555, allocations: 86.8 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.001129/0.001129, 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.436/1.436, allocations: 223.2 MB / 240 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.577/2.577, allocations: 409.4 MB / 0.684 GB, free: 0.8945 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.000368/0.0003682, allocations: 8 kB / 0.8378 GB, free: 6.469 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8068/0.8072, allocations: 146.8 MB / 0.9811 GB, free: 6.355 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1): time 0.001827/0.8091, allocations: 1.217 MB / 0.9823 GB, free: 5.133 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001191/0.8103, allocations: 0.7018 MB / 0.983 GB, free: 4.422 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.4e-05/0.8104, allocations: 3.938 kB / 0.983 GB, free: 4.418 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.75e-05/0.8104, allocations: 3.938 kB / 0.983 GB, free: 4.414 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 9.594e-05/0.8105, allocations: 11.92 kB / 0.983 GB, free: 4.402 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004788/0.811, allocations: 99.75 kB / 0.9831 GB, free: 4.305 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001129/0.8112, allocations: 71.72 kB / 0.9832 GB, free: 4.234 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 9.564e-05/0.8113, allocations: 19.97 kB / 0.9832 GB, free: 4.215 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 8.824e-05/0.8113, allocations: 39.84 kB / 0.9832 GB, free: 4.176 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 6.331e-05/0.8114, allocations: 23.91 kB / 0.9833 GB, free: 4.152 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.743e-05/0.8114, allocations: 4 kB / 0.9833 GB, free: 4.148 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001795/0.8116, allocations: 91.84 kB / 0.9834 GB, free: 4.059 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.643e-05/0.8117, allocations: 15.91 kB / 0.9834 GB, free: 4.043 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 4.461e-05/0.8117, allocations: 37.7 kB / 0.9834 GB, free: 4 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001645/0.8119, allocations: 102 kB / 0.9835 GB, free: 3.902 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.042e-06/0.8119, allocations: 0 / 0.9835 GB, free: 3.902 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.455e-06/0.8119, allocations: 4 kB / 0.9835 GB, free: 3.898 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.448e-06/0.8119, allocations: 0 / 0.9835 GB, free: 3.898 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.0007379/0.8127, allocations: 458.4 kB / 0.9839 GB, free: 3.391 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.978e-05/0.8127, allocations: 8.031 kB / 0.984 GB, free: 3.383 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.638e-05/0.8128, allocations: 34.56 kB / 0.984 GB, free: 3.34 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.868e-05/0.8128, allocations: 8 kB / 0.984 GB, free: 3.332 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001691/0.813, allocations: 186.8 kB / 0.9842 GB, free: 3.109 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.72e-05/0.813, allocations: 3.984 kB / 0.9842 GB, free: 3.105 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.802e-05/0.8131, allocations: 8 kB / 0.9842 GB, free: 3.098 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001901/0.8132, allocations: 73.61 kB / 0.9843 GB, free: 3.02 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.858e-06/0.8133, allocations: 0 / 0.9843 GB, free: 3.02 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.31e-05/0.8133, allocations: 4 kB / 0.9843 GB, free: 3.016 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.8133, allocations: 0 / 0.9843 GB, free: 3.016 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001377/0.8134, allocations: 47.91 kB / 0.9843 GB, free: 2.969 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005706/0.814, allocations: 320.7 kB / 0.9846 GB, free: 2.605 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001519/0.8142, allocations: 74.48 kB / 0.9847 GB, free: 2.523 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.312e-05/0.8143, allocations: 40.88 kB / 0.9847 GB, free: 2.48 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.22e-05/0.8143, allocations: 0 / 0.9847 GB, free: 2.48 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002485/0.8146, allocations: 99.3 kB / 0.9848 GB, free: 2.371 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=10): time 1.423e-06/0.8146, allocations: 0 / 0.9848 GB, free: 2.371 MB / 0.7325 GB Notification: Performance of matching and sorting (n=10): time 0.0003909/0.815, allocations: 165.5 kB / 0.985 GB, free: 2.203 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.452e-05/0.815, allocations: 55.41 kB / 0.985 GB, free: 2.137 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.718e-05/0.8151, allocations: 128.8 kB / 0.9851 GB, free: 2.004 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.029e-05/0.8152, allocations: 29.7 kB / 0.9852 GB, free: 1.969 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.641e-05/0.8152, allocations: 92.38 kB / 0.9853 GB, free: 1.871 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.816e-05/0.8153, allocations: 23.8 kB / 0.9853 GB, free: 1.848 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.844e-06/0.8153, allocations: 4 kB / 0.9853 GB, free: 1.844 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001203/0.8154, allocations: 326.8 kB / 0.9856 GB, free: 1.516 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.832e-05/0.8155, allocations: 27.98 kB / 0.9856 GB, free: 1.488 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.947e-05/0.8156, allocations: 69.06 kB / 0.9857 GB, free: 1.402 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.528e-05/0.8157, allocations: 39.98 kB / 0.9857 GB, free: 1.363 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.8157, allocations: 0 / 0.9857 GB, free: 1.363 MB / 0.7325 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002289/0.8159, allocations: 129.4 kB / 0.9859 GB, free: 1.23 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.626e-05/0.8159, allocations: 11.98 kB / 0.9859 GB, free: 1.219 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.85e-06/0.8159, allocations: 4.125 kB / 0.9859 GB, free: 1.215 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.686e-05/0.816, allocations: 4 kB / 0.9859 GB, free: 1.211 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001095/0.8161, allocations: 19.92 kB / 0.9859 GB, free: 1.191 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.212e-06/0.8161, allocations: 0 / 0.9859 GB, free: 1.191 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.62e-05/0.8162, allocations: 19.91 kB / 0.9859 GB, free: 1.172 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.54e-05/0.8162, allocations: 7.984 kB / 0.9859 GB, free: 1.164 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.0001076/0.8163, allocations: 115 kB / 0.986 GB, free: 1.043 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.929e-05/0.8164, allocations: 15.86 kB / 0.986 GB, free: 1.027 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003202/0.8167, allocations: 157.8 kB / 0.9862 GB, free: 0.8633 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.574e-06/0.8167, allocations: 0 / 0.9862 GB, free: 0.8633 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.8167, allocations: 0 / 0.9862 GB, free: 0.8633 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.608e-06/0.8167, allocations: 0 / 0.9862 GB, free: 0.8633 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005315/0.8172, allocations: 438.3 kB / 0.9866 GB, free: 388 kB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.8173, allocations: 0 / 0.9866 GB, free: 388 kB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.191e-05/0.8173, allocations: 12 kB / 0.9866 GB, free: 376 kB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.8174, allocations: 0 / 0.9866 GB, free: 376 kB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.453e-05/0.8174, allocations: 4.359 kB / 0.9866 GB, free: 372 kB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.8174, allocations: 0 / 0.9866 GB, free: 372 kB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.8174, allocations: 3.984 kB / 0.9866 GB, free: 368 kB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002722/0.8177, allocations: 239.2 kB / 0.9869 GB, free: 112 kB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.016e-05/0.8177, allocations: 92.94 kB / 0.9869 GB, free: 0 / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.369e-05/0.8177, allocations: 0 / 0.9869 GB, free: 0 / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001118/0.8179, allocations: 19.98 kB / 0.987 GB, free: 15.98 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.133e-05/0.8179, allocations: 11.98 kB / 0.987 GB, free: 15.97 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.513e-05/0.818, allocations: 8 kB / 0.987 GB, free: 15.96 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 6.093e-05/0.818, allocations: 95.27 kB / 0.9871 GB, free: 15.87 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.01e-07/0.818, allocations: 0 / 0.9871 GB, free: 15.87 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0003201/0.8184, allocations: 43.98 kB / 0.9871 GB, free: 15.82 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.0007959/0.8192, allocations: 0.8282 MB / 0.9879 GB, free: 14.99 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0002321/0.8194, allocations: 91.83 kB / 0.988 GB, free: 14.9 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.8194, allocations: 4.25 kB / 0.988 GB, free: 14.89 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001003/0.8195, allocations: 47.97 kB / 0.9881 GB, free: 14.85 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002768/0.8198, allocations: 15.94 kB / 0.9881 GB, free: 14.83 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001096/0.8209, allocations: 0.6642 MB / 0.9887 GB, free: 14.11 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000277/0.8212, allocations: 0.6965 MB / 0.9894 GB, free: 13.39 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 4.77e-05/0.8213, allocations: 8.438 kB / 0.9894 GB, free: 13.38 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.518e-05/0.8213, allocations: 31.36 kB / 0.9894 GB, free: 13.35 MB / 0.7481 GB Notification: Performance of SimCode: time 2.7e-07/0.8213, allocations: 4 kB / 0.9895 GB, free: 13.34 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01297/0.8343, allocations: 2.717 MB / 0.9921 GB, free: 10.79 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001899/0.8346, allocations: 244.8 kB / 0.9923 GB, free: 10.55 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.887/2.721, allocations: 0 / 0.9923 GB, free: 10.55 MB / 0.7481 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) Environment - environmentSimulation: 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