Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.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.BrighteningCoefficient,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|briCoe.F1|briCoe.F2",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient") translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|briCoe.F1|briCoe.F2",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001228/0.001228, allocations: 107.8 kB / 16.41 MB, free: 6.488 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.001181/0.001181, allocations: 189.6 kB / 17.34 MB, free: 5.766 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.223/1.223, allocations: 222.9 MB / 241 MB, free: 14.97 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.363/2.363, allocations: 461.9 MB / 0.7354 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001243/0.001243, allocations: 60.12 kB / 1.055 GB, free: 7.711 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6371/0.6384, allocations: 157.4 MB / 1.208 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient): time 0.006282/0.6447, allocations: 5.384 MB / 1.214 GB, free: 8.219 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.1412/0.7859, allocations: 150.8 MB / 1.361 GB, free: 0.7891 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007737/0.7867, allocations: 15.94 kB / 1.361 GB, free: 0.7734 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0006459/0.7874, allocations: 210 kB / 1.361 GB, free: 0.5664 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.001826/0.7892, allocations: 0.5744 MB / 1.362 GB, free: 15.99 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.001979/0.7912, allocations: 0.9568 MB / 1.363 GB, free: 15.04 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.001648/0.7929, allocations: 1.616 MB / 1.364 GB, free: 13.42 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009977/0.7939, allocations: 0.7551 MB / 1.365 GB, free: 12.63 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007693/0.7947, allocations: 0.584 MB / 1.366 GB, free: 12.04 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007655/0.7954, allocations: 0.6497 MB / 1.366 GB, free: 11.39 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0002559/0.7957, allocations: 144 kB / 1.366 GB, free: 11.25 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009182/0.7966, allocations: 0.523 MB / 1.367 GB, free: 10.73 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0002814/0.7969, allocations: 358.9 kB / 1.367 GB, free: 10.38 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0005267/0.7975, allocations: 0.6763 MB / 1.368 GB, free: 9.695 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.001745/0.7992, allocations: 1.91 MB / 1.37 GB, free: 7.781 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.7992, allocations: 0 / 1.37 GB, free: 7.781 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.373e-06/0.7992, allocations: 3.938 kB / 1.37 GB, free: 7.777 MB / 1.092 GB Notification: Performance of Transformations before backend: time 1.185e-05/0.7993, allocations: 0 / 1.37 GB, free: 7.777 MB / 1.092 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 279 * Number of variables: 279 Notification: Performance of Generate backend data structure: time 0.00272/0.802, allocations: 1.676 MB / 1.371 GB, free: 6.047 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 3.244e-05/0.802, allocations: 12.03 kB / 1.371 GB, free: 6.035 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004903/0.8069, allocations: 0.7561 MB / 1.372 GB, free: 5.277 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001063/0.808, allocations: 0.828 MB / 1.373 GB, free: 4.402 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.682e-05/0.8081, allocations: 82.2 kB / 1.373 GB, free: 4.32 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001399/0.8082, allocations: 108 kB / 1.373 GB, free: 4.215 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002966/0.8112, allocations: 1.432 MB / 1.374 GB, free: 2.719 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.883e-05/0.8112, allocations: 0 / 1.374 GB, free: 2.719 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001153/0.8113, allocations: 44 kB / 1.375 GB, free: 2.676 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.094e-05/0.8114, allocations: 32 kB / 1.375 GB, free: 2.645 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004379/0.8158, allocations: 1.897 MB / 1.376 GB, free: 0.7383 MB / 1.092 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.005506/0.8213, allocations: 3.488 MB / 1.38 GB, free: 13.12 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003257/0.8245, allocations: 1.378 MB / 1.381 GB, free: 11.72 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00143/0.826, allocations: 0.5972 MB / 1.382 GB, free: 11.11 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006058/0.8266, allocations: 486.5 kB / 1.382 GB, free: 10.55 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001772/0.8284, allocations: 0.7971 MB / 1.383 GB, free: 9.73 MB / 1.107 GB Notification: Performance of pre-optimization done (n=109): time 2.244e-06/0.8284, allocations: 4 kB / 1.383 GB, free: 9.727 MB / 1.107 GB Notification: Performance of matching and sorting (n=109): time 0.005798/0.8342, allocations: 1.973 MB / 1.385 GB, free: 7.727 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.195e-05/0.8343, allocations: 200.9 kB / 1.385 GB, free: 7.488 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006968/0.835, allocations: 0.6449 MB / 1.386 GB, free: 6.836 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 9.048e-05/0.8351, allocations: 49.7 kB / 1.386 GB, free: 6.781 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002901/0.8354, allocations: 440.5 kB / 1.386 GB, free: 6.344 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002657/0.8357, allocations: 358.8 kB / 1.387 GB, free: 5.988 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000318/0.836, allocations: 206.5 kB / 1.387 GB, free: 5.777 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001544/0.8362, allocations: 398.7 kB / 1.387 GB, free: 5.379 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0014/0.8376, allocations: 0.4977 MB / 1.388 GB, free: 4.883 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001504/0.8391, allocations: 0.6169 MB / 1.388 GB, free: 4.25 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002814/0.8419, allocations: 1.086 MB / 1.389 GB, free: 3.148 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.8419, allocations: 0 / 1.389 GB, free: 3.148 MB / 1.107 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.003707/0.8456, allocations: 1.376 MB / 1.391 GB, free: 1.766 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.978e-05/0.8457, allocations: 4 kB / 1.391 GB, free: 1.762 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.749e-06/0.8457, allocations: 4 kB / 1.391 GB, free: 1.758 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005434/0.8462, allocations: 92.81 kB / 1.391 GB, free: 1.664 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001343/0.8476, allocations: 267.6 kB / 1.391 GB, free: 1.402 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001967/0.8496, allocations: 1.626 MB / 1.393 GB, free: 15.63 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00121/0.8508, allocations: 159.1 kB / 1.393 GB, free: 15.47 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.431e-05/0.8509, allocations: 59.95 kB / 1.393 GB, free: 15.41 MB / 1.123 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (124): * Single equations (assignments): 123 * 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.000449/0.8513, allocations: 283.6 kB / 1.393 GB, free: 15.13 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001955/0.8515, allocations: 106.8 kB / 1.393 GB, free: 15.02 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004259/0.8558, allocations: 1.668 MB / 1.395 GB, free: 13.34 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.488e-06/0.8558, allocations: 12 kB / 1.395 GB, free: 13.33 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.645e-06/0.8558, allocations: 0 / 1.395 GB, free: 13.33 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.192e-05/0.8559, allocations: 15.91 kB / 1.395 GB, free: 13.31 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005172/0.861, allocations: 2.806 MB / 1.398 GB, free: 10.45 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/0.861, allocations: 0 / 1.398 GB, free: 10.45 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001243/0.8623, allocations: 247.7 kB / 1.398 GB, free: 10.2 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004095/0.8627, allocations: 80.72 kB / 1.398 GB, free: 10.12 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.726e-05/0.8628, allocations: 31.97 kB / 1.398 GB, free: 10.09 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001744/0.8646, allocations: 1.662 MB / 1.4 GB, free: 8.27 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.8646, allocations: 3.938 kB / 1.4 GB, free: 8.266 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003719/0.8683, allocations: 1.529 MB / 1.401 GB, free: 6.719 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003818/0.8687, allocations: 323.5 kB / 1.401 GB, free: 6.383 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001525/0.8688, allocations: 23.98 kB / 1.401 GB, free: 6.359 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001156/0.87, allocations: 118.1 kB / 1.401 GB, free: 6.246 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001566/0.8702, allocations: 92.88 kB / 1.402 GB, free: 6.152 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.525e-05/0.8703, allocations: 43.97 kB / 1.402 GB, free: 6.109 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0005092/0.8708, allocations: 471 kB / 1.402 GB, free: 5.656 MB / 1.123 GB Notification: Performance of sort global known variables: time 9e-08/0.8708, allocations: 0 / 1.402 GB, free: 5.656 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.000909/0.8717, allocations: 407 kB / 1.402 GB, free: 5.258 MB / 1.123 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 (122): * Single equations (assignments): 116 * 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.001262/0.873, allocations: 0.6283 MB / 1.403 GB, free: 4.805 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.003418/0.8764, allocations: 1.397 MB / 1.404 GB, free: 3.398 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.8764, allocations: 3.938 kB / 1.404 GB, free: 3.395 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.002043/0.8785, allocations: 0.8163 MB / 1.405 GB, free: 2.566 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001218/0.8797, allocations: 326.8 kB / 1.406 GB, free: 2.273 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003654/0.8834, allocations: 2.13 MB / 1.408 GB, free: 112 kB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000572/0.8839, allocations: 1.084 MB / 1.409 GB, free: 15 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005086/0.8845, allocations: 143.3 kB / 1.409 GB, free: 14.86 MB / 1.139 GB Notification: Performance of SimCode: time 3.01e-07/0.8845, allocations: 0 / 1.409 GB, free: 14.86 MB / 1.139 GB Notification: Performance of Templates: time 0.02415/0.9086, allocations: 22.87 MB / 1.431 GB, free: 8.098 MB / 1.154 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.sim & ./Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,briCoe.F1,briCoe.F2 Variables in the result:briCoe.F1,briCoe.F2,time