Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.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.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|skyCle.skyCle",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness") translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|skyCle.skyCle",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001641/0.001641, allocations: 102 kB / 16.27 MB, free: 5.859 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.001858/0.001858, allocations: 185.3 kB / 17.19 MB, free: 5.508 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.391/1.391, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.605/2.605, allocations: 469.4 MB / 0.7427 GB, free: 3.664 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001388/0.001388, allocations: 71.34 kB / 0.9088 GB, free: 14.16 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3259/0.3273, allocations: 159.1 MB / 1.064 GB, free: 15.05 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.007592/0.3349, allocations: 5.172 MB / 1.069 GB, free: 9.852 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.7564/1.091, allocations: 150.7 MB / 1.216 GB, free: 8.844 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001044/1.092, allocations: 18.88 kB / 1.216 GB, free: 8.836 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0008702/1.093, allocations: 192.9 kB / 1.217 GB, free: 8.668 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.002293/1.096, allocations: 0.5681 MB / 1.217 GB, free: 8.254 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.002442/1.098, allocations: 0.8601 MB / 1.218 GB, free: 7.625 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.002054/1.1, allocations: 1.438 MB / 1.219 GB, free: 6.746 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001251/1.102, allocations: 0.6453 MB / 1.22 GB, free: 6.348 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009681/1.102, allocations: 0.5266 MB / 1.221 GB, free: 6.027 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009537/1.103, allocations: 0.5397 MB / 1.221 GB, free: 5.645 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0003508/1.104, allocations: 125.2 kB / 1.221 GB, free: 5.645 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001247/1.105, allocations: 496 kB / 1.222 GB, free: 5.477 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.000411/1.105, allocations: 316.2 kB / 1.222 GB, free: 5.227 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0009255/1.106, allocations: 0.6078 MB / 1.223 GB, free: 4.781 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.002385/1.109, allocations: 1.71 MB / 1.224 GB, free: 3.551 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/1.109, allocations: 4 kB / 1.224 GB, free: 3.547 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.723e-06/1.109, allocations: 0 / 1.224 GB, free: 3.547 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.952e-05/1.109, allocations: 2.5 kB / 1.224 GB, free: 3.547 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 241 * Number of variables: 241 Notification: Performance of Generate backend data structure: time 0.003125/1.112, allocations: 1.507 MB / 1.226 GB, free: 2.367 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.172e-05/1.112, allocations: 10.88 kB / 1.226 GB, free: 2.367 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001272/1.113, allocations: 214.8 kB / 1.226 GB, free: 2.266 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001185/1.115, allocations: 0.7663 MB / 1.227 GB, free: 1.633 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.187e-05/1.115, allocations: 72.05 kB / 1.227 GB, free: 1.598 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001204/1.115, allocations: 90.56 kB / 1.227 GB, free: 1.57 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001821/1.117, allocations: 1.011 MB / 1.228 GB, free: 0.9297 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.955e-05/1.117, allocations: 2.094 kB / 1.228 GB, free: 0.9297 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.524e-05/1.117, allocations: 44.72 kB / 1.228 GB, free: 0.8945 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.848e-05/1.117, allocations: 25.06 kB / 1.228 GB, free: 0.8945 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00192/1.119, allocations: 1.175 MB / 1.229 GB, free: 136 kB / 0.9356 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004587/1.123, allocations: 2.968 MB / 1.232 GB, free: 13.04 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001696/1.125, allocations: 0.9247 MB / 1.233 GB, free: 12.1 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000596/1.126, allocations: 306.7 kB / 1.233 GB, free: 11.8 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000645/1.126, allocations: 478.1 kB / 1.234 GB, free: 11.24 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009166/1.127, allocations: 0.503 MB / 1.234 GB, free: 10.71 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=82): time 2.395e-06/1.127, allocations: 0 / 1.234 GB, free: 10.71 MB / 0.9512 GB Notification: Performance of matching and sorting (n=82): time 0.003347/1.131, allocations: 1.233 MB / 1.235 GB, free: 9.457 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.47e-05/1.131, allocations: 192.5 kB / 1.235 GB, free: 9.227 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008727/1.132, allocations: 0.6449 MB / 1.236 GB, free: 8.57 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 7.56e-05/1.132, allocations: 41.7 kB / 1.236 GB, free: 8.523 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.000328/1.132, allocations: 424.2 kB / 1.237 GB, free: 8.102 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002229/1.132, allocations: 268.2 kB / 1.237 GB, free: 7.836 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002511/1.132, allocations: 170.4 kB / 1.237 GB, free: 7.664 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001453/1.133, allocations: 386.8 kB / 1.237 GB, free: 7.277 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005719/1.133, allocations: 277.8 kB / 1.238 GB, free: 7.004 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006615/1.134, allocations: 375.1 kB / 1.238 GB, free: 6.629 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001199/1.135, allocations: 0.6229 MB / 1.239 GB, free: 5.992 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/1.135, allocations: 4 kB / 1.239 GB, free: 5.988 MB / 0.9512 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002047/1.137, allocations: 0.8761 MB / 1.239 GB, free: 5.102 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.906e-05/1.137, allocations: 9.656 kB / 1.239 GB, free: 5.094 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.157e-06/1.137, allocations: 4 kB / 1.239 GB, free: 5.09 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000608/1.138, allocations: 80.88 kB / 1.24 GB, free: 5.008 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007083/1.139, allocations: 159.8 kB / 1.24 GB, free: 4.852 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002125/1.141, allocations: 1.633 MB / 1.241 GB, free: 3.07 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000811/1.141, allocations: 99.42 kB / 1.241 GB, free: 2.973 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.386e-05/1.142, allocations: 35.91 kB / 1.241 GB, free: 2.938 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 17 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (96): * Single equations (assignments): 95 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.000457/1.142, allocations: 276 kB / 1.242 GB, free: 2.66 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002103/1.142, allocations: 82.97 kB / 1.242 GB, free: 2.578 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002523/1.145, allocations: 1.107 MB / 1.243 GB, free: 1.465 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.726e-06/1.145, allocations: 13.34 kB / 1.243 GB, free: 1.453 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.865e-06/1.145, allocations: 0 / 1.243 GB, free: 1.453 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.063e-05/1.145, allocations: 3.984 kB / 1.243 GB, free: 1.449 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00339/1.148, allocations: 2 MB / 1.245 GB, free: 15.39 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.388e-06/1.148, allocations: 0 / 1.245 GB, free: 15.39 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006274/1.149, allocations: 151.8 kB / 1.245 GB, free: 15.24 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004453/1.149, allocations: 80.72 kB / 1.245 GB, free: 15.16 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.447e-05/1.149, allocations: 23.98 kB / 1.245 GB, free: 15.13 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001831/1.151, allocations: 1.662 MB / 1.247 GB, free: 13.33 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/1.151, allocations: 1.719 kB / 1.247 GB, free: 13.33 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002116/1.153, allocations: 1.019 MB / 1.248 GB, free: 12.29 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004094/1.154, allocations: 275.7 kB / 1.248 GB, free: 12 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001513/1.154, allocations: 19.94 kB / 1.248 GB, free: 11.98 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007168/1.155, allocations: 67.92 kB / 1.248 GB, free: 11.91 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001525/1.155, allocations: 72.91 kB / 1.248 GB, free: 11.84 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.883e-05/1.155, allocations: 43.62 kB / 1.248 GB, free: 11.8 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0005818/1.156, allocations: 459 kB / 1.249 GB, free: 11.36 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.5e-07/1.156, allocations: 0 / 1.249 GB, free: 11.36 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.001032/1.157, allocations: 363 kB / 1.249 GB, free: 11 MB / 0.9669 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (93): * Single equations (assignments): 87 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00146/1.158, allocations: 0.6192 MB / 1.25 GB, free: 10.56 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.002802/1.161, allocations: 1.058 MB / 1.251 GB, free: 9.492 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 6.162e-06/1.161, allocations: 0 / 1.251 GB, free: 9.492 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.001051/1.162, allocations: 0.5314 MB / 1.251 GB, free: 8.945 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001442/1.163, allocations: 319.4 kB / 1.251 GB, free: 8.656 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003441/1.167, allocations: 1.793 MB / 1.253 GB, free: 6.832 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006597/1.168, allocations: 1.04 MB / 1.254 GB, free: 5.762 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003242/1.168, allocations: 119.4 kB / 1.254 GB, free: 5.645 MB / 0.9669 GB Notification: Performance of SimCode: time 8.21e-07/1.168, allocations: 0 / 1.254 GB, free: 5.645 MB / 0.9669 GB Notification: Performance of Templates: time 0.02872/1.197, allocations: 19.53 MB / 1.273 GB, free: 2.195 MB / 0.9825 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.sim & ./Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches