Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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_9_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_9_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.001204/0.001204, allocations: 115.3 kB / 16.37 MB, free: 6 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.001133/0.001133, allocations: 193.3 kB / 17.31 MB, free: 5.613 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.412/1.412, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.345/2.345, allocations: 390.3 MB / 0.6655 GB, free: 0.5547 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001367/0.001367, allocations: 62.09 kB / 0.814 GB, free: 32.74 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3007/0.3021, allocations: 140.4 MB / 0.9511 GB, free: 8.031 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled): time 0.002409/0.3045, allocations: 0.731 MB / 0.9518 GB, free: 7.301 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.002344/0.3069, allocations: 1.534 MB / 0.9533 GB, free: 5.75 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.844e-05/0.307, allocations: 0 / 0.9533 GB, free: 5.75 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.44e-05/0.3071, allocations: 3.938 kB / 0.9533 GB, free: 5.746 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001973/0.3073, allocations: 23.78 kB / 0.9534 GB, free: 5.723 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004943/0.3078, allocations: 155.5 kB / 0.9535 GB, free: 5.57 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001969/0.308, allocations: 123.7 kB / 0.9536 GB, free: 5.449 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001269/0.3081, allocations: 19.97 kB / 0.9536 GB, free: 5.43 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001178/0.3083, allocations: 47.84 kB / 0.9537 GB, free: 5.383 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001095/0.3084, allocations: 51.81 kB / 0.9537 GB, free: 5.332 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.485e-05/0.3084, allocations: 12 kB / 0.9538 GB, free: 5.32 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002097/0.3086, allocations: 95.92 kB / 0.9538 GB, free: 5.227 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 3.976e-05/0.3087, allocations: 31.84 kB / 0.9539 GB, free: 5.195 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 6.248e-05/0.3087, allocations: 43.8 kB / 0.9539 GB, free: 5.152 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0003327/0.3091, allocations: 207.4 kB / 0.9541 GB, free: 4.949 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.603e-06/0.3091, allocations: 0 / 0.9541 GB, free: 4.949 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.655e-06/0.3091, allocations: 0 / 0.9541 GB, free: 4.949 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.535e-06/0.3091, allocations: 0 / 0.9541 GB, free: 4.949 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.0007786/0.3099, allocations: 427.1 kB / 0.9545 GB, free: 4.484 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.21e-05/0.3099, allocations: 12.03 kB / 0.9545 GB, free: 4.473 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.776e-05/0.31, allocations: 12.84 kB / 0.9545 GB, free: 4.461 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001665/0.3102, allocations: 172.3 kB / 0.9547 GB, free: 4.254 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.498e-05/0.3103, allocations: 38.2 kB / 0.9547 GB, free: 4.211 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.339e-05/0.3103, allocations: 4.375 kB / 0.9547 GB, free: 4.207 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002169/0.3105, allocations: 112.2 kB / 0.9549 GB, free: 4.086 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.139e-05/0.3105, allocations: 0 / 0.9549 GB, free: 4.086 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.487e-05/0.3106, allocations: 0 / 0.9549 GB, free: 4.086 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.614e-06/0.3106, allocations: 4 kB / 0.9549 GB, free: 4.082 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001321/0.3107, allocations: 51.91 kB / 0.9549 GB, free: 4.031 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007658/0.3115, allocations: 0.5127 MB / 0.9554 GB, free: 3.461 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005122/0.312, allocations: 135.7 kB / 0.9555 GB, free: 3.301 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.15e-05/0.3121, allocations: 46.66 kB / 0.9556 GB, free: 3.246 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.003e-05/0.3121, allocations: 8 kB / 0.9556 GB, free: 3.238 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002163/0.3124, allocations: 113.9 kB / 0.9557 GB, free: 3.105 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=11): time 1.693e-06/0.3124, allocations: 0 / 0.9557 GB, free: 3.105 MB / 0.7325 GB Notification: Performance of matching and sorting (n=11): time 0.0003872/0.3128, allocations: 145.4 kB / 0.9558 GB, free: 2.957 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001029/0.3129, allocations: 110.8 kB / 0.9559 GB, free: 2.824 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001376/0.313, allocations: 126 kB / 0.9561 GB, free: 2.691 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.597e-05/0.3131, allocations: 29.7 kB / 0.9561 GB, free: 2.656 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 7.427e-05/0.3132, allocations: 92.33 kB / 0.9562 GB, free: 2.559 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.723e-05/0.3132, allocations: 27.64 kB / 0.9562 GB, free: 2.531 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.861e-05/0.3133, allocations: 37.7 kB / 0.9562 GB, free: 2.488 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0002248/0.3135, allocations: 314.8 kB / 0.9565 GB, free: 2.172 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001037/0.3136, allocations: 43.97 kB / 0.9566 GB, free: 2.129 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.807e-05/0.3137, allocations: 35.98 kB / 0.9566 GB, free: 2.094 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001741/0.3139, allocations: 83.45 kB / 0.9567 GB, free: 2.012 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.3139, allocations: 0 / 0.9567 GB, free: 2.012 MB / 0.7325 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002563/0.3142, allocations: 133.4 kB / 0.9568 GB, free: 1.875 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.083e-05/0.3142, allocations: 5.875 kB / 0.9568 GB, free: 1.871 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.3142, allocations: 0 / 0.9568 GB, free: 1.871 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.094e-05/0.3142, allocations: 4.188 kB / 0.9568 GB, free: 1.867 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001268/0.3144, allocations: 19.98 kB / 0.9569 GB, free: 1.848 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.844e-06/0.3144, allocations: 0 / 0.9569 GB, free: 1.848 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.184e-05/0.3145, allocations: 19.78 kB / 0.9569 GB, free: 1.828 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.843e-05/0.3145, allocations: 15.91 kB / 0.9569 GB, free: 1.812 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 (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.0001349/0.3147, allocations: 125.8 kB / 0.957 GB, free: 1.68 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.169e-05/0.3147, allocations: 7.906 kB / 0.957 GB, free: 1.672 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002635/0.3149, allocations: 114 kB / 0.9571 GB, free: 1.555 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.612e-06/0.315, allocations: 4 kB / 0.9571 GB, free: 1.551 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.663e-06/0.315, allocations: 4 kB / 0.9571 GB, free: 1.547 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/0.315, allocations: 0 / 0.9571 GB, free: 1.547 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000227/0.3152, allocations: 221.4 kB / 0.9573 GB, free: 1.281 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-06/0.3152, allocations: 0 / 0.9573 GB, free: 1.281 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.076e-05/0.3153, allocations: 23.98 kB / 0.9574 GB, free: 1.258 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.112e-06/0.3153, allocations: 4 kB / 0.9574 GB, free: 1.254 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.324e-05/0.3154, allocations: 0 / 0.9574 GB, free: 1.254 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.117e-06/0.3154, allocations: 4 kB / 0.9574 GB, free: 1.25 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.3154, allocations: 320 / 0.9574 GB, free: 1.25 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000282/0.3157, allocations: 186.5 kB / 0.9576 GB, free: 1.043 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 8.815e-05/0.3158, allocations: 100.9 kB / 0.9576 GB, free: 0.9258 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.75e-05/0.3158, allocations: 4 kB / 0.9577 GB, free: 0.9219 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.475e-05/0.3159, allocations: 7.984 kB / 0.9577 GB, free: 0.9141 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.438e-05/0.3159, allocations: 19.92 kB / 0.9577 GB, free: 0.8945 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.331e-05/0.316, allocations: 4 kB / 0.9577 GB, free: 0.8906 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 6.77e-05/0.316, allocations: 99.27 kB / 0.9578 GB, free: 0.793 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.7e-07/0.3161, allocations: 4 kB / 0.9578 GB, free: 0.7891 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003094/0.3164, allocations: 59.92 kB / 0.9578 GB, free: 0.7305 MB / 0.7325 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.0002677/0.3166, allocations: 155 kB / 0.958 GB, free: 0.5664 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002594/0.3169, allocations: 94.72 kB / 0.9581 GB, free: 488 kB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.3169, allocations: 0 / 0.9581 GB, free: 488 kB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001015/0.317, allocations: 59.91 kB / 0.9581 GB, free: 428 kB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002266/0.3173, allocations: 8 kB / 0.9581 GB, free: 420 kB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005784/0.3178, allocations: 237.3 kB / 0.9584 GB, free: 144 kB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004289/0.3183, allocations: 0.7039 MB / 0.9591 GB, free: 15.41 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 7.322e-05/0.3184, allocations: 20.53 kB / 0.9591 GB, free: 15.39 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.247e-05/0.3184, allocations: 19.44 kB / 0.9591 GB, free: 15.37 MB / 0.7481 GB Notification: Performance of SimCode: time 2.61e-07/0.3184, allocations: 0 / 0.9591 GB, free: 15.37 MB / 0.7481 GB Notification: Performance of Templates: time 0.005096/0.3235, allocations: 1.73 MB / 0.9608 GB, free: 13.65 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.makefile (rm -f Buildings_9_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.sim & ./Buildings_9_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_OutdoorLights_Validation_DaylightControlled.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches