Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001139/0.001139, allocations: 83.59 kB / 20.45 MB, free: 4.121 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001309/0.001309, allocations: 165 kB / 23.82 MB, free: 0.75 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9978/0.9978, allocations: 177.1 MB / 204.2 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.842/1.842, allocations: 359 MB / 0.6052 GB, free: 11 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dayCon.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled") translateModel(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dayCon.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.232e-06/1.232e-06, allocations: 0 / 0.7871 GB, free: 12.53 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.228e-05/2.351e-05, allocations: 6.25 kB / 0.7871 GB, free: 12.52 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled): time 0.001321/0.001345, allocations: 0.7228 MB / 0.7878 GB, free: 11.82 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001581/0.002925, allocations: 1.598 MB / 0.7893 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.518e-05/0.002981, allocations: 1.406 kB / 0.7893 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.434e-05/0.003015, allocations: 3.938 kB / 0.7893 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001658/0.003181, allocations: 27.78 kB / 0.7894 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.000338/0.003519, allocations: 170.3 kB / 0.7895 GB, free: 10.01 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001281/0.003647, allocations: 123.6 kB / 0.7896 GB, free: 9.891 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 9.176e-05/0.003739, allocations: 12 kB / 0.7897 GB, free: 9.879 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001639/0.003902, allocations: 71.88 kB / 0.7897 GB, free: 9.809 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 7.34e-05/0.003976, allocations: 41.06 kB / 0.7898 GB, free: 9.77 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.252e-05/0.003998, allocations: 12 kB / 0.7898 GB, free: 9.758 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001542/0.004153, allocations: 123.8 kB / 0.7899 GB, free: 9.637 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.372e-05/0.004176, allocations: 24.55 kB / 0.7899 GB, free: 9.613 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.938e-05/0.004216, allocations: 33.05 kB / 0.7899 GB, free: 9.582 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002331/0.004449, allocations: 195.3 kB / 0.7901 GB, free: 9.391 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.803e-06/0.004451, allocations: 0 / 0.7901 GB, free: 9.391 MB / 0.7448 GB Notification: Performance of FrontEnd: time 8.42e-07/0.004451, allocations: 0.5312 kB / 0.7901 GB, free: 9.391 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.158e-06/0.004456, allocations: 0 / 0.7901 GB, free: 9.391 MB / 0.7448 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.0005314/0.004987, allocations: 469.7 kB / 0.7906 GB, free: 8.898 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.717e-05/0.005024, allocations: 9.562 kB / 0.7906 GB, free: 8.891 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002203/0.005245, allocations: 40.8 kB / 0.7906 GB, free: 8.852 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001035/0.005348, allocations: 120.5 kB / 0.7907 GB, free: 8.707 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.175e-05/0.00543, allocations: 65.66 kB / 0.7908 GB, free: 8.633 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.785e-05/0.005448, allocations: 8.375 kB / 0.7908 GB, free: 8.625 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001426/0.00559, allocations: 106 kB / 0.7909 GB, free: 8.5 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.747e-06/0.005599, allocations: 192 / 0.7909 GB, free: 8.5 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.443e-05/0.005613, allocations: 10.41 kB / 0.7909 GB, free: 8.492 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.555e-06/0.005621, allocations: 0 / 0.7909 GB, free: 8.492 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.56e-05/0.005677, allocations: 27.91 kB / 0.791 GB, free: 8.465 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004733/0.00615, allocations: 0.5795 MB / 0.7915 GB, free: 7.84 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003166/0.006466, allocations: 146.9 kB / 0.7917 GB, free: 7.66 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.576e-05/0.006512, allocations: 44.73 kB / 0.7917 GB, free: 7.605 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.956e-05/0.006532, allocations: 4 kB / 0.7917 GB, free: 7.602 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000133/0.006665, allocations: 124 kB / 0.7918 GB, free: 7.453 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=11): time 1.102e-06/0.006666, allocations: 0.625 kB / 0.7918 GB, free: 7.453 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11): time 0.0002265/0.006892, allocations: 118.3 kB / 0.7919 GB, free: 7.332 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.82e-05/0.006941, allocations: 110.7 kB / 0.792 GB, free: 7.199 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.032e-05/0.007031, allocations: 178.5 kB / 0.7922 GB, free: 7.008 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.784e-05/0.007049, allocations: 34.27 kB / 0.7922 GB, free: 6.969 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.638e-05/0.007105, allocations: 139.1 kB / 0.7924 GB, free: 6.824 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.35e-05/0.007129, allocations: 28.47 kB / 0.7924 GB, free: 6.797 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.481e-05/0.007173, allocations: 39.36 kB / 0.7924 GB, free: 6.75 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001168/0.00729, allocations: 0.4936 MB / 0.7929 GB, free: 6.246 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.355e-05/0.007354, allocations: 23.92 kB / 0.7929 GB, free: 6.223 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.529e-05/0.007389, allocations: 19.98 kB / 0.793 GB, free: 6.203 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.929e-05/0.007468, allocations: 55.5 kB / 0.793 GB, free: 6.148 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.007471, allocations: 3.938 kB / 0.793 GB, free: 6.145 MB / 0.7448 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001308/0.007602, allocations: 109.5 kB / 0.7931 GB, free: 6.031 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.272e-05/0.007615, allocations: 6.406 kB / 0.7931 GB, free: 6.027 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.007619, allocations: 0 / 0.7931 GB, free: 6.027 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.763e-05/0.007637, allocations: 0.6562 kB / 0.7931 GB, free: 6.027 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.683e-05/0.007714, allocations: 28.77 kB / 0.7932 GB, free: 6 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.669e-06/0.007718, allocations: 0 / 0.7932 GB, free: 6 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.713e-05/0.007756, allocations: 7.938 kB / 0.7932 GB, free: 5.992 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.09e-05/0.007766, allocations: 13.89 kB / 0.7932 GB, free: 5.98 MB / 0.7448 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 (dayCon.not1.y,dayCon.sunRiseSet.nextSunSet,$PRE.dayCon.sunRiseSet.nextSunSet,dayCon.sunRiseSet.nextSunRise,$PRE.dayCon.sunRiseSet.nextSunRise,$whenCondition1,$whenCondition2) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.324e-05/0.00784, allocations: 166.5 kB / 0.7933 GB, free: 5.809 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.597e-05/0.007856, allocations: 11.95 kB / 0.7934 GB, free: 5.797 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001641/0.00802, allocations: 110.9 kB / 0.7935 GB, free: 5.688 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.008023, allocations: 6.375 kB / 0.7935 GB, free: 5.684 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.008026, allocations: 0 / 0.7935 GB, free: 5.684 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.546e-06/0.00803, allocations: 0 / 0.7935 GB, free: 5.684 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001049/0.008135, allocations: 156.5 kB / 0.7936 GB, free: 5.496 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.008137, allocations: 3.938 kB / 0.7936 GB, free: 5.492 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.699e-05/0.008184, allocations: 23.92 kB / 0.7936 GB, free: 5.469 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.008186, allocations: 5.844 kB / 0.7936 GB, free: 5.465 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.989e-06/0.008196, allocations: 4 kB / 0.7936 GB, free: 5.461 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.02e-07/0.008197, allocations: 0 / 0.7936 GB, free: 5.461 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.008198, allocations: 0 / 0.7936 GB, free: 5.461 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001537/0.008352, allocations: 172 kB / 0.7938 GB, free: 5.262 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.944e-05/0.008391, allocations: 27.81 kB / 0.7938 GB, free: 5.234 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.739e-05/0.008408, allocations: 12.44 kB / 0.7939 GB, free: 5.223 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.379e-05/0.008442, allocations: 8.484 kB / 0.7939 GB, free: 5.215 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.083e-05/0.008483, allocations: 17.08 kB / 0.7939 GB, free: 5.199 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.915e-06/0.008491, allocations: 4 kB / 0.7939 GB, free: 5.195 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.91e-05/0.00854, allocations: 141.3 kB / 0.794 GB, free: 5.059 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7e-08/0.00854, allocations: 0.6562 kB / 0.794 GB, free: 5.059 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001882/0.008728, allocations: 67.75 kB / 0.7941 GB, free: 4.992 MB / 0.7448 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001975/0.008926, allocations: 179.4 kB / 0.7942 GB, free: 4.809 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001466/0.009072, allocations: 82.25 kB / 0.7943 GB, free: 4.727 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.393e-06/0.009074, allocations: 0 / 0.7943 GB, free: 4.727 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 5.633e-05/0.00913, allocations: 43.61 kB / 0.7944 GB, free: 4.68 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001564/0.009287, allocations: 23.92 kB / 0.7944 GB, free: 4.656 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005759/0.009862, allocations: 241.7 kB / 0.7946 GB, free: 4.383 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.959e-05/0.009902, allocations: 67.34 kB / 0.7947 GB, free: 4.297 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.359e-05/0.009946, allocations: 18.98 kB / 0.7947 GB, free: 4.281 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.911e-05/0.009985, allocations: 17.59 kB / 0.7947 GB, free: 4.266 MB / 0.7448 GB Notification: Performance of SimCode: time 3.7e-07/0.009985, allocations: 0 / 0.7947 GB, free: 4.266 MB / 0.7448 GB Notification: Performance of Templates: time 0.003559/0.01354, allocations: 1.989 MB / 0.7967 GB, free: 2.309 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.sim & ./Buildings_11_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_OutdoorLights_Validation_DaylightControlled.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.420799848623574]