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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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: translateModel(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dayCon.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled") translateModel(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dayCon.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007786/0.0007787, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.005723/0.005724, allocations: 170.1 kB / 16.27 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.458/1.458, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.902/2.902, allocations: 462.7 MB / 0.7364 GB, free: 300 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0004075/0.0004075, allocations: 13.06 kB / 0.9028 GB, free: 36.67 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.394/0.3944, allocations: 159.6 MB / 1.059 GB, free: 5.473 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled): time 0.00101/0.3955, allocations: 453.5 kB / 1.059 GB, free: 5.031 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.00202/0.3975, allocations: 1.532 MB / 1.061 GB, free: 3.48 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.308e-05/0.3976, allocations: 3.938 kB / 1.061 GB, free: 3.477 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.029e-05/0.3976, allocations: 3.938 kB / 1.061 GB, free: 3.473 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001802/0.3978, allocations: 19.91 kB / 1.061 GB, free: 3.453 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003468/0.3981, allocations: 131.7 kB / 1.061 GB, free: 3.324 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001462/0.3983, allocations: 103.7 kB / 1.061 GB, free: 3.223 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001138/0.3984, allocations: 15.98 kB / 1.061 GB, free: 3.207 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001236/0.3985, allocations: 47.83 kB / 1.061 GB, free: 3.16 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001121/0.3987, allocations: 51.77 kB / 1.061 GB, free: 3.109 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.392e-05/0.3987, allocations: 4 kB / 1.061 GB, free: 3.105 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001831/0.3989, allocations: 79.88 kB / 1.061 GB, free: 3.027 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.944e-05/0.3989, allocations: 15.92 kB / 1.061 GB, free: 3.012 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 7.002e-05/0.399, allocations: 65.48 kB / 1.061 GB, free: 2.941 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002841/0.3993, allocations: 191.7 kB / 1.061 GB, free: 2.754 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.3993, allocations: 0 / 1.061 GB, free: 2.754 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.874e-06/0.3993, allocations: 0 / 1.061 GB, free: 2.754 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.003e-05/0.3994, allocations: 0 / 1.061 GB, free: 2.754 MB / 0.8106 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.0007663/0.4001, allocations: 407.2 kB / 1.062 GB, free: 2.309 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.664e-05/0.4002, allocations: 12.03 kB / 1.062 GB, free: 2.297 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.586e-05/0.4002, allocations: 8.844 kB / 1.062 GB, free: 2.289 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001769/0.4004, allocations: 168.3 kB / 1.062 GB, free: 2.086 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.538e-05/0.4005, allocations: 38.2 kB / 1.062 GB, free: 2.043 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.659e-05/0.4006, allocations: 4.375 kB / 1.062 GB, free: 2.039 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002076/0.4008, allocations: 108.3 kB / 1.062 GB, free: 1.918 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.318e-06/0.4008, allocations: 0 / 1.062 GB, free: 1.918 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.087e-05/0.4008, allocations: 8 kB / 1.062 GB, free: 1.91 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.4008, allocations: 0 / 1.062 GB, free: 1.91 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00012/0.401, allocations: 43.91 kB / 1.062 GB, free: 1.867 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007472/0.4017, allocations: 0.5321 MB / 1.063 GB, free: 1.277 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005188/0.4022, allocations: 135.8 kB / 1.063 GB, free: 1.117 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.713e-05/0.4023, allocations: 42.66 kB / 1.063 GB, free: 1.066 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 3.042e-05/0.4024, allocations: 4 kB / 1.063 GB, free: 1.062 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002649/0.4026, allocations: 121.8 kB / 1.063 GB, free: 0.9219 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=11): time 1.342e-06/0.4026, allocations: 0 / 1.063 GB, free: 0.9219 MB / 0.8106 GB Notification: Performance of matching and sorting (n=11): time 0.0003574/0.403, allocations: 137.5 kB / 1.063 GB, free: 0.7812 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.084e-05/0.4031, allocations: 110.8 kB / 1.063 GB, free: 0.6484 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.892e-05/0.4032, allocations: 129.7 kB / 1.063 GB, free: 0.5117 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.977e-05/0.4032, allocations: 37.83 kB / 1.063 GB, free: 480 kB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.246e-05/0.4033, allocations: 84.42 kB / 1.063 GB, free: 388 kB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.54e-05/0.4033, allocations: 35.61 kB / 1.063 GB, free: 352 kB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.956e-05/0.4034, allocations: 25.7 kB / 1.063 GB, free: 320 kB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001502/0.4035, allocations: 318.8 kB / 1.064 GB, free: 15.99 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.585e-05/0.4036, allocations: 35.98 kB / 1.064 GB, free: 15.96 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.346e-05/0.4037, allocations: 37.94 kB / 1.064 GB, free: 15.92 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001704/0.4039, allocations: 80.78 kB / 1.064 GB, free: 15.84 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.4039, allocations: 4 kB / 1.064 GB, free: 15.84 MB / 0.8262 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000254/0.4042, allocations: 131.6 kB / 1.064 GB, free: 15.7 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.775e-05/0.4042, allocations: 6.188 kB / 1.064 GB, free: 15.7 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.4042, allocations: 0 / 1.064 GB, free: 15.7 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.422e-05/0.4042, allocations: 0 / 1.064 GB, free: 15.7 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000125/0.4044, allocations: 27.91 kB / 1.064 GB, free: 15.67 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.62e-06/0.4044, allocations: 0 / 1.064 GB, free: 15.67 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.302e-05/0.4045, allocations: 23.78 kB / 1.064 GB, free: 15.65 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.437e-05/0.4045, allocations: 11.88 kB / 1.064 GB, free: 15.64 MB / 0.8262 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 0.0001133/0.4046, allocations: 131.5 kB / 1.064 GB, free: 15.5 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.932e-05/0.4046, allocations: 7.906 kB / 1.064 GB, free: 15.49 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002427/0.4049, allocations: 106 kB / 1.064 GB, free: 15.38 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.909e-06/0.4049, allocations: 4 kB / 1.064 GB, free: 15.38 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.4049, allocations: 4.312 kB / 1.064 GB, free: 15.38 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.685e-06/0.4049, allocations: 3.984 kB / 1.064 GB, free: 15.37 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002109/0.4051, allocations: 225.4 kB / 1.065 GB, free: 15.1 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.4052, allocations: 4 kB / 1.065 GB, free: 15.1 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.24e-05/0.4053, allocations: 15.94 kB / 1.065 GB, free: 15.08 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.348e-05/0.4053, allocations: 4 kB / 1.065 GB, free: 15.08 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.672e-05/0.4053, allocations: 7.984 kB / 1.065 GB, free: 15.07 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.517e-06/0.4053, allocations: 4 kB / 1.065 GB, free: 15.07 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.4053, allocations: 0 / 1.065 GB, free: 15.07 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002453/0.4056, allocations: 174.6 kB / 1.065 GB, free: 14.87 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 8.97e-05/0.4057, allocations: 104.9 kB / 1.065 GB, free: 14.75 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.46e-05/0.4057, allocations: 0 / 1.065 GB, free: 14.75 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.606e-05/0.4058, allocations: 15.98 kB / 1.065 GB, free: 14.73 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.325e-05/0.4058, allocations: 15.86 kB / 1.065 GB, free: 14.72 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.529e-05/0.4059, allocations: 12 kB / 1.065 GB, free: 14.71 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.06e-05/0.4059, allocations: 95.27 kB / 1.065 GB, free: 14.61 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.8e-07/0.406, allocations: 4 kB / 1.065 GB, free: 14.61 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003013/0.4063, allocations: 51.94 kB / 1.065 GB, free: 14.56 MB / 0.8262 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.0002815/0.4066, allocations: 159.1 kB / 1.065 GB, free: 14.39 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002771/0.4068, allocations: 91.91 kB / 1.065 GB, free: 14.3 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.4068, allocations: 0 / 1.065 GB, free: 14.3 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001202/0.407, allocations: 51.92 kB / 1.065 GB, free: 14.25 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002407/0.4072, allocations: 18.23 kB / 1.065 GB, free: 14.24 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005651/0.4078, allocations: 275.1 kB / 1.066 GB, free: 13.93 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003257/0.4081, allocations: 0.7043 MB / 1.066 GB, free: 13.2 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 9.256e-05/0.4082, allocations: 19.8 kB / 1.066 GB, free: 13.19 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.625e-05/0.4083, allocations: 15.44 kB / 1.066 GB, free: 13.17 MB / 0.8262 GB Notification: Performance of SimCode: time 2.7e-07/0.4083, allocations: 4 kB / 1.066 GB, free: 13.17 MB / 0.8262 GB Notification: Performance of Templates: time 0.004893/0.4132, allocations: 1.622 MB / 1.068 GB, free: 11.55 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.makefile (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 & ./Buildings_latest_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_OutdoorLights_Validation_DaylightControlled.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches