Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_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_10_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.001117/0.001118, allocations: 108.4 kB / 16.37 MB, free: 5.516 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.001116/0.001116, allocations: 193.3 kB / 17.31 MB, free: 5.16 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.375/1.375, allocations: 222.9 MB / 241 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.46/2.46, allocations: 437.1 MB / 0.7112 GB, free: 4.441 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001227/0.001227, allocations: 59.53 kB / 0.8707 GB, free: 1.5 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2995/0.3008, allocations: 151.6 MB / 1.019 GB, free: 9.906 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled): time 0.001969/0.3028, allocations: 0.7314 MB / 1.019 GB, free: 9.172 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001848/0.3047, allocations: 1.534 MB / 1.021 GB, free: 7.621 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.392e-05/0.3047, allocations: 4 kB / 1.021 GB, free: 7.617 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.444e-05/0.3048, allocations: 7.875 kB / 1.021 GB, free: 7.609 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0001753/0.305, allocations: 19.84 kB / 1.021 GB, free: 7.59 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003972/0.3054, allocations: 159.4 kB / 1.021 GB, free: 7.434 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001593/0.3056, allocations: 119.7 kB / 1.021 GB, free: 7.316 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001028/0.3057, allocations: 15.98 kB / 1.021 GB, free: 7.301 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001016/0.3058, allocations: 43.86 kB / 1.021 GB, free: 7.258 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001009/0.3059, allocations: 59.81 kB / 1.021 GB, free: 7.199 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.307e-05/0.3059, allocations: 12 kB / 1.021 GB, free: 7.188 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001906/0.3061, allocations: 99.91 kB / 1.022 GB, free: 7.09 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 3.344e-05/0.3061, allocations: 23.92 kB / 1.022 GB, free: 7.066 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 6.112e-05/0.3062, allocations: 47.78 kB / 1.022 GB, free: 7.02 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0002653/0.3065, allocations: 195.5 kB / 1.022 GB, free: 6.828 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.259e-06/0.3065, allocations: 0 / 1.022 GB, free: 6.828 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.803e-06/0.3065, allocations: 0 / 1.022 GB, free: 6.828 MB / 0.795 GB Notification: Performance of Transformations before backend: time 8.115e-06/0.3065, allocations: 4 kB / 1.022 GB, free: 6.824 MB / 0.795 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.0007169/0.3072, allocations: 431.1 kB / 1.022 GB, free: 6.355 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.641e-05/0.3073, allocations: 8.922 kB / 1.022 GB, free: 6.348 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.681e-05/0.3073, allocations: 8.844 kB / 1.022 GB, free: 6.34 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001369/0.3075, allocations: 176.2 kB / 1.022 GB, free: 6.129 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.774e-05/0.3076, allocations: 30.27 kB / 1.022 GB, free: 6.094 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.3e-05/0.3076, allocations: 12.38 kB / 1.022 GB, free: 6.082 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001805/0.3078, allocations: 100.3 kB / 1.023 GB, free: 5.969 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.147e-05/0.3078, allocations: 4 kB / 1.023 GB, free: 5.965 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.225e-05/0.3078, allocations: 3.938 kB / 1.023 GB, free: 5.961 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/0.3078, allocations: 0 / 1.023 GB, free: 5.961 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001017/0.3079, allocations: 47.97 kB / 1.023 GB, free: 5.914 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006109/0.3085, allocations: 0.5243 MB / 1.023 GB, free: 5.332 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004598/0.309, allocations: 139.7 kB / 1.023 GB, free: 5.168 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.276e-05/0.3091, allocations: 46.66 kB / 1.023 GB, free: 5.113 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.165e-05/0.3091, allocations: 0 / 1.023 GB, free: 5.113 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001897/0.3093, allocations: 121.8 kB / 1.023 GB, free: 4.973 MB / 0.795 GB Notification: Performance of pre-optimization done (n=11): time 1.183e-06/0.3093, allocations: 0 / 1.023 GB, free: 4.973 MB / 0.795 GB Notification: Performance of matching and sorting (n=11): time 0.0003214/0.3096, allocations: 137.5 kB / 1.023 GB, free: 4.832 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.436e-05/0.3097, allocations: 106.8 kB / 1.024 GB, free: 4.703 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001049/0.3098, allocations: 133.7 kB / 1.024 GB, free: 4.562 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.294e-05/0.3099, allocations: 29.7 kB / 1.024 GB, free: 4.527 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 5.204e-05/0.3099, allocations: 96.2 kB / 1.024 GB, free: 4.426 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 3.355e-05/0.3099, allocations: 39.61 kB / 1.024 GB, free: 4.387 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.116e-05/0.31, allocations: 37.83 kB / 1.024 GB, free: 4.344 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 9.607e-05/0.3101, allocations: 326.8 kB / 1.024 GB, free: 4.016 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.278e-05/0.3102, allocations: 31.98 kB / 1.024 GB, free: 3.984 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.09e-05/0.3103, allocations: 35.98 kB / 1.024 GB, free: 3.949 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001625/0.3105, allocations: 74.95 kB / 1.024 GB, free: 3.875 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.3105, allocations: 0 / 1.024 GB, free: 3.875 MB / 0.795 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002344/0.3107, allocations: 133.8 kB / 1.024 GB, free: 3.738 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.611e-05/0.3107, allocations: 7.125 kB / 1.024 GB, free: 3.734 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.3108, allocations: 8 kB / 1.025 GB, free: 3.727 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.375e-05/0.3108, allocations: 0 / 1.025 GB, free: 3.727 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001234/0.3109, allocations: 27.92 kB / 1.025 GB, free: 3.699 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.181e-06/0.3109, allocations: 0 / 1.025 GB, free: 3.699 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001034/0.311, allocations: 11.92 kB / 1.025 GB, free: 3.688 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.744e-05/0.3111, allocations: 11.94 kB / 1.025 GB, free: 3.676 MB / 0.795 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 9.396e-05/0.3112, allocations: 116.2 kB / 1.025 GB, free: 3.555 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.268e-05/0.3112, allocations: 11.91 kB / 1.025 GB, free: 3.543 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002301/0.3114, allocations: 114 kB / 1.025 GB, free: 3.422 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5e-06/0.3114, allocations: 4 kB / 1.025 GB, free: 3.418 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/0.3114, allocations: 0 / 1.025 GB, free: 3.418 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.741e-06/0.3115, allocations: 4 kB / 1.025 GB, free: 3.414 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001849/0.3116, allocations: 221.4 kB / 1.025 GB, free: 3.148 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.3116, allocations: 0 / 1.025 GB, free: 3.148 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.699e-05/0.3118, allocations: 24.16 kB / 1.025 GB, free: 3.125 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.3118, allocations: 0 / 1.025 GB, free: 3.125 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.409e-05/0.3118, allocations: 8 kB / 1.025 GB, free: 3.117 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.3118, allocations: 4 kB / 1.025 GB, free: 3.113 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.037e-06/0.3118, allocations: 0 / 1.025 GB, free: 3.113 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002479/0.312, allocations: 188.8 kB / 1.025 GB, free: 2.906 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 6.772e-05/0.3121, allocations: 100.9 kB / 1.025 GB, free: 2.789 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.492e-05/0.3122, allocations: 8 kB / 1.025 GB, free: 2.781 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.667e-05/0.3122, allocations: 12 kB / 1.025 GB, free: 2.77 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.89e-05/0.3123, allocations: 11.92 kB / 1.025 GB, free: 2.758 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.205e-05/0.3123, allocations: 4 kB / 1.025 GB, free: 2.754 MB / 0.795 GB Notification: Performance of sorting global known variables: time 5.911e-05/0.3124, allocations: 101.3 kB / 1.025 GB, free: 2.656 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3124, allocations: 0 / 1.025 GB, free: 2.656 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002607/0.3126, allocations: 59.92 kB / 1.026 GB, free: 2.598 MB / 0.795 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.0002153/0.3129, allocations: 147.2 kB / 1.026 GB, free: 2.445 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0002262/0.3131, allocations: 103.9 kB / 1.026 GB, free: 2.344 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.3131, allocations: 0 / 1.026 GB, free: 2.344 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 9.204e-05/0.3132, allocations: 52.11 kB / 1.026 GB, free: 2.293 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002008/0.3134, allocations: 16.05 kB / 1.026 GB, free: 2.277 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000438/0.3139, allocations: 249.1 kB / 1.026 GB, free: 1.996 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002232/0.3141, allocations: 0.7002 MB / 1.027 GB, free: 1.27 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 5.995e-05/0.3142, allocations: 12.55 kB / 1.027 GB, free: 1.258 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.473e-05/0.3142, allocations: 19.42 kB / 1.027 GB, free: 1.242 MB / 0.795 GB Notification: Performance of SimCode: time 2.5e-07/0.3142, allocations: 0 / 1.027 GB, free: 1.242 MB / 0.795 GB Notification: Performance of Templates: time 0.004395/0.3186, allocations: 1.72 MB / 1.028 GB, free: 15.53 MB / 0.8106 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.makefile (rm -f Buildings_10_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.sim & ./Buildings_10_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_OutdoorLights_Validation_DaylightControlled.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches