Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|briCoe.F1|briCoe.F2",fileNamePrefix="Buildings_10_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_10_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.001578/0.001578, allocations: 105.5 kB / 16.27 MB, free: 6.414 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.001517/0.001517, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.413/1.413, 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 10.1.1-maint.10.0.x/package.mo): time 2.544/2.544, allocations: 437.1 MB / 0.7111 GB, free: 4.496 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001947/0.001947, allocations: 68.16 kB / 0.8699 GB, free: 2.219 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3266/0.3285, allocations: 151.6 MB / 1.018 GB, free: 10.66 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient): time 0.007979/0.3366, allocations: 5.407 MB / 1.023 GB, free: 5.223 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.7002/1.037, allocations: 150.8 MB / 1.171 GB, free: 15.94 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009313/1.038, allocations: 20.62 kB / 1.171 GB, free: 15.93 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0006643/1.038, allocations: 207.5 kB / 1.171 GB, free: 15.79 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.002601/1.041, allocations: 0.578 MB / 1.171 GB, free: 15.46 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.003331/1.044, allocations: 0.9393 MB / 1.172 GB, free: 14.98 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.003178/1.048, allocations: 1.604 MB / 1.174 GB, free: 14.16 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001343/1.049, allocations: 0.7504 MB / 1.175 GB, free: 13.76 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001262/1.05, allocations: 0.5863 MB / 1.175 GB, free: 13.47 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009742/1.051, allocations: 0.6447 MB / 1.176 GB, free: 13.14 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0002278/1.052, allocations: 142.7 kB / 1.176 GB, free: 13.14 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001206/1.053, allocations: 0.4993 MB / 1.176 GB, free: 13.04 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0004147/1.053, allocations: 368 kB / 1.177 GB, free: 12.77 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0008673/1.054, allocations: 0.6747 MB / 1.177 GB, free: 12.27 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.003137/1.057, allocations: 1.869 MB / 1.179 GB, free: 10.91 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 6.653e-06/1.057, allocations: 0 / 1.179 GB, free: 10.91 MB / 0.8887 GB Notification: Performance of FrontEnd: time 3.647e-06/1.057, allocations: 3.984 kB / 1.179 GB, free: 10.91 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 4.033e-05/1.057, allocations: 0 / 1.179 GB, free: 10.91 MB / 0.8887 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.004037/1.061, allocations: 1.67 MB / 1.181 GB, free: 9.645 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.821e-05/1.061, allocations: 13.8 kB / 1.181 GB, free: 9.641 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005614/1.067, allocations: 0.7534 MB / 1.182 GB, free: 9.301 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001747/1.069, allocations: 0.8073 MB / 1.182 GB, free: 8.629 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001055/1.069, allocations: 87.39 kB / 1.182 GB, free: 8.59 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001966/1.069, allocations: 105.8 kB / 1.183 GB, free: 8.555 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003849/1.073, allocations: 1.434 MB / 1.184 GB, free: 7.66 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.505e-05/1.073, allocations: 0 / 1.184 GB, free: 7.66 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001493/1.073, allocations: 54.17 kB / 1.184 GB, free: 7.617 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.111e-05/1.073, allocations: 26.81 kB / 1.184 GB, free: 7.617 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004889/1.078, allocations: 1.883 MB / 1.186 GB, free: 6.73 MB / 0.8887 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.007965/1.086, allocations: 3.535 MB / 1.189 GB, free: 4.004 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003541/1.09, allocations: 1.375 MB / 1.191 GB, free: 3.27 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0016/1.091, allocations: 0.6021 MB / 1.191 GB, free: 2.965 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007564/1.092, allocations: 484.4 kB / 1.192 GB, free: 2.449 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001919/1.094, allocations: 0.8062 MB / 1.193 GB, free: 1.953 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=109): time 2.886e-06/1.094, allocations: 0 / 1.193 GB, free: 1.953 MB / 0.8887 GB Notification: Performance of matching and sorting (n=109): time 0.006394/1.1, allocations: 1.978 MB / 1.194 GB, free: 0.9375 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001334/1.101, allocations: 197.7 kB / 1.195 GB, free: 0.7109 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001089/1.102, allocations: 0.6523 MB / 1.195 GB, free: 336 kB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.0001311/1.102, allocations: 45.45 kB / 1.195 GB, free: 292 kB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004647/1.102, allocations: 437.9 kB / 1.196 GB, free: 15.9 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003927/1.103, allocations: 359.5 kB / 1.196 GB, free: 15.59 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000426/1.103, allocations: 210.7 kB / 1.196 GB, free: 15.46 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0002298/1.103, allocations: 394.9 kB / 1.197 GB, free: 15.09 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001572/1.105, allocations: 0.5032 MB / 1.197 GB, free: 14.84 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001712/1.107, allocations: 0.6146 MB / 1.198 GB, free: 14.5 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003208/1.11, allocations: 1.083 MB / 1.199 GB, free: 13.95 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.039e-05/1.11, allocations: 3.938 kB / 1.199 GB, free: 13.94 MB / 0.9044 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.004337/1.114, allocations: 1.368 MB / 1.2 GB, free: 13.27 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.686e-05/1.114, allocations: 8.828 kB / 1.2 GB, free: 13.27 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.054e-05/1.114, allocations: 2.25 kB / 1.2 GB, free: 13.27 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006133/1.115, allocations: 86.56 kB / 1.2 GB, free: 13.22 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00143/1.116, allocations: 266.8 kB / 1.2 GB, free: 13.15 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002362/1.119, allocations: 1.642 MB / 1.202 GB, free: 11.54 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001568/1.12, allocations: 166.7 kB / 1.202 GB, free: 11.45 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001496/1.121, allocations: 43.94 kB / 1.202 GB, free: 11.43 MB / 0.9044 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.0007002/1.121, allocations: 294.9 kB / 1.203 GB, free: 11.2 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003494/1.122, allocations: 96.31 kB / 1.203 GB, free: 11.15 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005095/1.127, allocations: 1.676 MB / 1.204 GB, free: 9.895 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.634e-05/1.127, allocations: 12 kB / 1.204 GB, free: 9.883 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/1.127, allocations: 0 / 1.204 GB, free: 9.883 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.508e-05/1.127, allocations: 7.969 kB / 1.204 GB, free: 9.875 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006764/1.134, allocations: 2.806 MB / 1.207 GB, free: 7.004 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.608e-06/1.134, allocations: 3.938 kB / 1.207 GB, free: 7 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001426/1.135, allocations: 258.9 kB / 1.207 GB, free: 6.75 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004947/1.136, allocations: 72.8 kB / 1.207 GB, free: 6.676 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001208/1.136, allocations: 39.95 kB / 1.207 GB, free: 6.637 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002282/1.138, allocations: 1.655 MB / 1.209 GB, free: 4.84 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/1.138, allocations: 3.938 kB / 1.209 GB, free: 4.836 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004773/1.143, allocations: 1.531 MB / 1.211 GB, free: 3.285 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007565/1.143, allocations: 319.4 kB / 1.211 GB, free: 2.953 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003115/1.144, allocations: 24 kB / 1.211 GB, free: 2.93 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001455/1.145, allocations: 126.5 kB / 1.211 GB, free: 2.809 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002373/1.146, allocations: 88.81 kB / 1.211 GB, free: 2.719 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001323/1.146, allocations: 47.95 kB / 1.211 GB, free: 2.672 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0008571/1.147, allocations: 471 kB / 1.212 GB, free: 2.215 MB / 0.9044 GB Notification: Performance of sort global known variables: time 2.9e-07/1.147, allocations: 0 / 1.212 GB, free: 2.215 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.001486/1.148, allocations: 399 kB / 1.212 GB, free: 1.824 MB / 0.9044 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.002216/1.15, allocations: 0.637 MB / 1.213 GB, free: 1.359 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.005322/1.156, allocations: 1.651 MB / 1.214 GB, free: 15.7 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/1.156, allocations: 0 / 1.214 GB, free: 15.7 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.002232/1.158, allocations: 0.8124 MB / 1.215 GB, free: 14.87 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001854/1.16, allocations: 315.1 kB / 1.215 GB, free: 14.59 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005672/1.165, allocations: 2.169 MB / 1.217 GB, free: 12.39 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001018/1.166, allocations: 1.084 MB / 1.218 GB, free: 11.27 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006918/1.167, allocations: 147.3 kB / 1.219 GB, free: 11.13 MB / 0.92 GB Notification: Performance of SimCode: time 1.483e-06/1.167, allocations: 4 kB / 1.219 GB, free: 11.12 MB / 0.92 GB Notification: Performance of Templates: time 0.03772/1.205, allocations: 22.73 MB / 1.241 GB, free: 4.508 MB / 0.9356 GB make -j1 -f Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.makefile (rm -f Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.sim & ./Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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