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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001413/0.001413, allocations: 109 kB / 17.54 MB, free: 4.746 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001452/0.001452, allocations: 185.9 kB / 20.71 MB, free: 1.586 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.302/1.302, allocations: 225.6 MB / 249.3 MB, free: 3.172 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.475/2.475, allocations: 476.7 MB / 0.7628 GB, free: 15.17 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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: "" <> buildModelFMU(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_OutdoorLights_Validation_DaylightControlled",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_OutdoorLights_Validation_DaylightControlled",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001787/0.001787, allocations: 71.89 kB / 1.107 GB, free: 5.184 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7477/0.7495, allocations: 168.7 MB / 1.271 GB, free: 7.719 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled): time 0.00158/0.7511, allocations: 0.7488 MB / 1.272 GB, free: 7.258 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001439/0.7525, allocations: 1.535 MB / 1.274 GB, free: 6.145 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.339e-05/0.7526, allocations: 1.375 kB / 1.274 GB, free: 6.145 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.872e-05/0.7526, allocations: 8.391 kB / 1.274 GB, free: 6.137 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001374/0.7528, allocations: 21.98 kB / 1.274 GB, free: 6.121 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003341/0.7531, allocations: 150 kB / 1.274 GB, free: 6.047 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001359/0.7532, allocations: 125.4 kB / 1.274 GB, free: 5.984 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.879e-05/0.7533, allocations: 11.22 kB / 1.274 GB, free: 5.98 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000107/0.7534, allocations: 53.89 kB / 1.274 GB, free: 5.953 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 8.822e-05/0.7535, allocations: 55.25 kB / 1.274 GB, free: 5.926 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.402e-05/0.7535, allocations: 11.28 kB / 1.274 GB, free: 5.926 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000188/0.7537, allocations: 100.5 kB / 1.274 GB, free: 5.902 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.786e-05/0.7537, allocations: 25.88 kB / 1.274 GB, free: 5.887 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 4.998e-05/0.7538, allocations: 50.11 kB / 1.274 GB, free: 5.855 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002497/0.754, allocations: 197.6 kB / 1.274 GB, free: 5.785 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.586e-06/0.754, allocations: 0 / 1.274 GB, free: 5.785 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.343e-06/0.754, allocations: 0 / 1.274 GB, free: 5.785 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 9.007e-06/0.754, allocations: 0 / 1.274 GB, free: 5.785 MB / 0.9981 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.0005643/0.7546, allocations: 430 kB / 1.275 GB, free: 5.379 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.571e-05/0.7546, allocations: 10.97 kB / 1.275 GB, free: 5.379 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.886e-05/0.7547, allocations: 32.56 kB / 1.275 GB, free: 5.34 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.793e-05/0.7547, allocations: 13.06 kB / 1.275 GB, free: 5.336 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.506e-05/0.7548, allocations: 180.6 kB / 1.275 GB, free: 5.125 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.758e-05/0.7549, allocations: 36.97 kB / 1.275 GB, free: 5.09 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.683e-05/0.7549, allocations: 9.094 kB / 1.275 GB, free: 5.086 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000147/0.755, allocations: 97.42 kB / 1.275 GB, free: 5.012 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.326e-06/0.755, allocations: 0 / 1.275 GB, free: 5.012 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.187e-05/0.755, allocations: 4.938 kB / 1.275 GB, free: 5.008 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.755, allocations: 3.047 kB / 1.275 GB, free: 5.008 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.426e-05/0.7551, allocations: 44.95 kB / 1.275 GB, free: 4.992 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000469/0.7556, allocations: 0.5282 MB / 1.276 GB, free: 4.492 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004282/0.756, allocations: 134.5 kB / 1.276 GB, free: 4.395 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.185e-05/0.7561, allocations: 43.67 kB / 1.276 GB, free: 4.359 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.76e-05/0.7561, allocations: 5.406 kB / 1.276 GB, free: 4.355 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000175/0.7563, allocations: 117.6 kB / 1.276 GB, free: 4.262 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=11): time 1.262e-06/0.7563, allocations: 0 / 1.276 GB, free: 4.262 MB / 0.9981 GB Notification: Performance of matching and sorting (n=11): time 0.0003104/0.7566, allocations: 147.1 kB / 1.276 GB, free: 4.184 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.976e-05/0.7566, allocations: 105.6 kB / 1.276 GB, free: 4.059 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.371e-05/0.7567, allocations: 130.6 kB / 1.276 GB, free: 3.945 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.45e-05/0.7567, allocations: 31.39 kB / 1.276 GB, free: 3.91 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 2.952e-05/0.7568, allocations: 91.11 kB / 1.276 GB, free: 3.816 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.296e-05/0.7568, allocations: 35.95 kB / 1.276 GB, free: 3.789 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.039e-05/0.7568, allocations: 41.02 kB / 1.277 GB, free: 3.758 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.866e-05/0.7569, allocations: 324.8 kB / 1.277 GB, free: 3.438 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.435e-05/0.7569, allocations: 33.39 kB / 1.277 GB, free: 3.426 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.734e-05/0.757, allocations: 42 kB / 1.277 GB, free: 3.41 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001507/0.7572, allocations: 74.34 kB / 1.277 GB, free: 3.375 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.7572, allocations: 4.938 kB / 1.277 GB, free: 3.371 MB / 0.9981 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002208/0.7574, allocations: 127.4 kB / 1.277 GB, free: 3.305 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.27e-05/0.7574, allocations: 5.812 kB / 1.277 GB, free: 3.305 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-06/0.7574, allocations: 0 / 1.277 GB, free: 3.305 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.598e-05/0.7574, allocations: 1.062 kB / 1.277 GB, free: 3.305 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001184/0.7576, allocations: 27.56 kB / 1.277 GB, free: 3.297 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.478e-06/0.7576, allocations: 1.062 kB / 1.277 GB, free: 3.297 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.086e-05/0.7576, allocations: 18.5 kB / 1.277 GB, free: 3.285 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.231e-05/0.7576, allocations: 4.984 kB / 1.277 GB, free: 3.285 MB / 0.9981 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 6.238e-05/0.7577, allocations: 125.6 kB / 1.277 GB, free: 3.16 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.06e-05/0.7577, allocations: 10.2 kB / 1.277 GB, free: 3.156 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001935/0.7579, allocations: 116.1 kB / 1.277 GB, free: 3.082 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.7579, allocations: 3.125 kB / 1.277 GB, free: 3.082 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.7579, allocations: 0 / 1.277 GB, free: 3.082 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.131e-06/0.7579, allocations: 7.141 kB / 1.277 GB, free: 3.078 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001298/0.7581, allocations: 212.5 kB / 1.278 GB, free: 2.863 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.7581, allocations: 4.812 kB / 1.278 GB, free: 2.859 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.279e-05/0.7582, allocations: 22.5 kB / 1.278 GB, free: 2.855 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.7582, allocations: 1.125 kB / 1.278 GB, free: 2.855 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.231e-05/0.7582, allocations: 3.781 kB / 1.278 GB, free: 2.855 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.756e-06/0.7582, allocations: 1.188 kB / 1.278 GB, free: 2.855 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.7582, allocations: 1 kB / 1.278 GB, free: 2.855 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002054/0.7584, allocations: 181.7 kB / 1.278 GB, free: 2.727 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.654e-05/0.7584, allocations: 105.1 kB / 1.278 GB, free: 2.617 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.221e-05/0.7585, allocations: 10.97 kB / 1.278 GB, free: 2.609 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.684e-05/0.7585, allocations: 17.58 kB / 1.278 GB, free: 2.598 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.623e-05/0.7586, allocations: 17.92 kB / 1.278 GB, free: 2.59 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.175e-05/0.7586, allocations: 7.344 kB / 1.278 GB, free: 2.59 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 4.154e-05/0.7586, allocations: 100.3 kB / 1.278 GB, free: 2.508 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9e-08/0.7586, allocations: 0 / 1.278 GB, free: 2.508 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002572/0.7589, allocations: 57.19 kB / 1.278 GB, free: 2.492 MB / 0.9981 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.0004482/0.7593, allocations: 0.7589 MB / 1.279 GB, free: 1.824 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.000213/0.7595, allocations: 92.17 kB / 1.279 GB, free: 1.797 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.7596, allocations: 4 kB / 1.279 GB, free: 1.793 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 8.653e-05/0.7596, allocations: 51.22 kB / 1.279 GB, free: 1.773 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000186/0.7598, allocations: 18.7 kB / 1.279 GB, free: 1.766 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001358/0.7612, allocations: 1.545 MB / 1.281 GB, free: 16.45 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002846/0.7615, allocations: 0.71 MB / 1.281 GB, free: 15.74 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 5.78e-05/0.7615, allocations: 12.56 kB / 1.281 GB, free: 15.74 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.043e-05/0.7616, allocations: 29.84 kB / 1.281 GB, free: 15.72 MB / 1.014 GB Notification: Performance of SimCode: time 3.2e-07/0.7616, allocations: 0 / 1.281 GB, free: 15.72 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0262/0.7878, allocations: 2.967 MB / 1.284 GB, free: 15.23 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.072/7.859, allocations: 19.08 kB / 1.284 GB, free: 15.22 MB / 1.014 GB " [Timeout remaining time 292] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_OutdoorLights_Validation_DaylightControlled_fmu --startTime=0 --stopTime=604800 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_OutdoorLights_Validation_DaylightControlled.fmu > Buildings_11_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe 2>&1) [Timeout 420.0] 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference:time,dayCon.y Variables in the result:dayCon.lat,dayCon.lon,dayCon.timZon,dayCon.y,time [Calling sys.exit(0), Time elapsed: 13.134173540999655]