Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.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.Controls.OBC.OutdoorLights.Validation.DaylightControlled,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_OutdoorLights_Validation_DaylightControlled",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_OutdoorLights_Validation_DaylightControlled",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.00106/0.00106, allocations: 91.92 kB / 15.06 MB, free: 1.098 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.001416/0.001416, allocations: 172.7 kB / 15.95 MB, free: 208 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.449/1.449, 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.619/2.619, allocations: 409.4 MB / 0.684 GB, free: 0.8789 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0004125/0.0004129, allocations: 8 kB / 0.8378 GB, free: 6.457 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8188/0.8193, allocations: 146.8 MB / 0.9811 GB, free: 6.215 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled): time 0.0007914/0.8201, allocations: 442 kB / 0.9816 GB, free: 5.789 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001638/0.8218, allocations: 1.467 MB / 0.983 GB, free: 4.301 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.893e-05/0.8218, allocations: 0 / 0.983 GB, free: 4.301 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.869e-05/0.8219, allocations: 7.922 kB / 0.983 GB, free: 4.293 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001752/0.822, allocations: 19.8 kB / 0.983 GB, free: 4.273 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003348/0.8224, allocations: 130.5 kB / 0.9831 GB, free: 4.148 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001331/0.8225, allocations: 99.7 kB / 0.9832 GB, free: 4.051 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 9.232e-05/0.8226, allocations: 15.97 kB / 0.9832 GB, free: 4.035 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001027/0.8227, allocations: 43.84 kB / 0.9833 GB, free: 3.992 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 9.73e-05/0.8228, allocations: 39.83 kB / 0.9833 GB, free: 3.953 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.925e-05/0.8229, allocations: 8 kB / 0.9833 GB, free: 3.945 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001507/0.823, allocations: 67.94 kB / 0.9834 GB, free: 3.879 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.286e-05/0.8231, allocations: 11.98 kB / 0.9834 GB, free: 3.867 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.626e-05/0.8231, allocations: 49.62 kB / 0.9835 GB, free: 3.812 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001853/0.8233, allocations: 145.9 kB / 0.9836 GB, free: 3.672 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/0.8233, allocations: 0 / 0.9836 GB, free: 3.672 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.863e-06/0.8233, allocations: 0 / 0.9836 GB, free: 3.672 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 3.867e-06/0.8233, allocations: 0 / 0.9836 GB, free: 3.672 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.000602/0.8239, allocations: 415 kB / 0.984 GB, free: 3.219 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.391e-05/0.824, allocations: 12.03 kB / 0.984 GB, free: 3.207 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.054e-05/0.824, allocations: 34.56 kB / 0.984 GB, free: 3.164 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.444e-05/0.8241, allocations: 11.84 kB / 0.9841 GB, free: 3.152 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001513/0.8242, allocations: 182.8 kB / 0.9842 GB, free: 2.934 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.248e-05/0.8243, allocations: 37.7 kB / 0.9843 GB, free: 2.891 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.615e-05/0.8243, allocations: 4 kB / 0.9843 GB, free: 2.887 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001724/0.8245, allocations: 108.2 kB / 0.9844 GB, free: 2.766 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.887e-06/0.8245, allocations: 0 / 0.9844 GB, free: 2.766 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.048e-05/0.8245, allocations: 0 / 0.9844 GB, free: 2.766 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.436e-06/0.8245, allocations: 0 / 0.9844 GB, free: 2.766 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001028/0.8246, allocations: 47.91 kB / 0.9844 GB, free: 2.719 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006178/0.8253, allocations: 0.5204 MB / 0.9849 GB, free: 2.141 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004467/0.8257, allocations: 139.7 kB / 0.9851 GB, free: 1.977 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.011e-05/0.8258, allocations: 46.66 kB / 0.9851 GB, free: 1.922 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.461e-05/0.8258, allocations: 0 / 0.9851 GB, free: 1.922 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002283/0.8261, allocations: 113.9 kB / 0.9852 GB, free: 1.789 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=11): time 1.072e-06/0.8261, allocations: 0 / 0.9852 GB, free: 1.789 MB / 0.7325 GB Notification: Performance of matching and sorting (n=11): time 0.0003265/0.8264, allocations: 141.5 kB / 0.9853 GB, free: 1.645 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.839e-05/0.8265, allocations: 110.8 kB / 0.9854 GB, free: 1.512 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001069/0.8266, allocations: 125.7 kB / 0.9856 GB, free: 1.379 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.994e-05/0.8266, allocations: 29.7 kB / 0.9856 GB, free: 1.344 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.448e-05/0.8267, allocations: 96.31 kB / 0.9857 GB, free: 1.242 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.27e-05/0.8267, allocations: 27.81 kB / 0.9857 GB, free: 1.215 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.736e-06/0.8267, allocations: 8 kB / 0.9857 GB, free: 1.207 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001306/0.8269, allocations: 326.8 kB / 0.986 GB, free: 0.8789 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.033e-05/0.827, allocations: 43.8 kB / 0.9861 GB, free: 0.8359 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.591e-05/0.8271, allocations: 35.98 kB / 0.9861 GB, free: 0.8008 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.427e-05/0.8272, allocations: 37.75 kB / 0.9861 GB, free: 0.7656 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.8272, allocations: 0 / 0.9861 GB, free: 0.7656 MB / 0.7325 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002384/0.8274, allocations: 129.6 kB / 0.9863 GB, free: 0.6328 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.527e-05/0.8274, allocations: 4 kB / 0.9863 GB, free: 0.6289 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.8274, allocations: 7.984 kB / 0.9863 GB, free: 0.6211 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.455e-05/0.8275, allocations: 4 kB / 0.9863 GB, free: 0.6172 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001195/0.8276, allocations: 19.92 kB / 0.9863 GB, free: 0.5977 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.759e-06/0.8276, allocations: 4 kB / 0.9863 GB, free: 0.5938 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.457e-05/0.8277, allocations: 11.91 kB / 0.9863 GB, free: 0.582 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.485e-05/0.8277, allocations: 7.984 kB / 0.9863 GB, free: 0.5742 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition2,$whenCondition1,$PRE.dayCon.sunRiseSet.nextSunRise,dayCon.sunRiseSet.nextSunRise,$PRE.dayCon.sunRiseSet.nextSunSet,dayCon.sunRiseSet.nextSunSet,dayCon.not1.y) * 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.0001086/0.8278, allocations: 125.8 kB / 0.9864 GB, free: 452 kB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.84e-05/0.8279, allocations: 8.094 kB / 0.9865 GB, free: 444 kB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002387/0.8281, allocations: 121.8 kB / 0.9866 GB, free: 312 kB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.586e-06/0.8281, allocations: 0 / 0.9866 GB, free: 312 kB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.8281, allocations: 0 / 0.9866 GB, free: 312 kB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.105e-06/0.8282, allocations: 4.312 kB / 0.9866 GB, free: 308 kB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002064/0.8284, allocations: 221.5 kB / 0.9868 GB, free: 36 kB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.8284, allocations: 4 kB / 0.9868 GB, free: 32 kB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.462e-05/0.8285, allocations: 27.92 kB / 0.9868 GB, free: 4 kB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.8285, allocations: 0 / 0.9868 GB, free: 4 kB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.165e-05/0.8285, allocations: 8.047 kB / 0.9868 GB, free: 15.99 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.8285, allocations: 0 / 0.9868 GB, free: 15.99 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.8285, allocations: 0 / 0.9868 GB, free: 15.99 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002538/0.8288, allocations: 172.6 kB / 0.987 GB, free: 15.8 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 8.159e-05/0.8289, allocations: 108.9 kB / 0.9871 GB, free: 15.68 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.799e-05/0.8289, allocations: 8 kB / 0.9871 GB, free: 15.67 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.766e-05/0.829, allocations: 7.984 kB / 0.9871 GB, free: 15.66 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.462e-05/0.8291, allocations: 19.92 kB / 0.9871 GB, free: 15.64 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.147e-05/0.8291, allocations: 4 kB / 0.9871 GB, free: 15.64 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 5.999e-05/0.8292, allocations: 95.27 kB / 0.9872 GB, free: 15.55 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.31e-07/0.8292, allocations: 0 / 0.9872 GB, free: 15.55 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0002874/0.8295, allocations: 59.92 kB / 0.9873 GB, free: 15.49 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition2,$whenCondition1,dayCon.sunRiseSet.nextSunRise,dayCon.sunRiseSet.nextSunSet,dayCon.not1.y) * Number of discrete states: 2 (dayCon.sunRiseSet.nextSunRise,dayCon.sunRiseSet.nextSunSet) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0006137/0.8301, allocations: 0.7622 MB / 0.988 GB, free: 14.69 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0002277/0.8303, allocations: 91.91 kB / 0.9881 GB, free: 14.6 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 4.088e-06/0.8303, allocations: 4 kB / 0.9881 GB, free: 14.6 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 9.58e-05/0.8304, allocations: 51.92 kB / 0.9882 GB, free: 14.55 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002111/0.8307, allocations: 13.81 kB / 0.9882 GB, free: 14.54 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001189/0.8319, allocations: 0.691 MB / 0.9889 GB, free: 13.79 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004152/0.8323, allocations: 0.7043 MB / 0.9895 GB, free: 13.06 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 9.645e-05/0.8324, allocations: 23.55 kB / 0.9896 GB, free: 13.04 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.763e-05/0.8325, allocations: 35.42 kB / 0.9896 GB, free: 13.01 MB / 0.7481 GB Notification: Performance of SimCode: time 8.02e-07/0.8325, allocations: 0 / 0.9896 GB, free: 13.01 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01659/0.8491, allocations: 2.763 MB / 0.9923 GB, free: 10.44 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000191/0.8493, allocations: 208.2 kB / 0.9925 GB, free: 10.2 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.782/2.631, allocations: 0 / 0.9925 GB, free: 10.2 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_OutdoorLights_Validation_DaylightControlled_fmu --startTime=0 --stopTime=604800 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_OutdoorLights_Validation_DaylightControlled.fmu > Buildings_latest_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled_res.mat does not exist to compare? outputFormat=mat