Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001108/0.001113, allocations: 110.8 kB / 16.41 MB, free: 6.496 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.001057/0.001057, allocations: 183 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.344/1.344, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.239/2.239, allocations: 390.3 MB / 0.6655 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001356/0.001356, allocations: 59.89 kB / 0.9515 GB, free: 7.684 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8559/0.8572, allocations: 140.4 MB / 1.089 GB, free: 5.531 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient): time 0.005928/0.8632, allocations: 4.642 MB / 1.093 GB, free: 2.234 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.1926/1.056, allocations: 150.8 MB / 1.24 GB, free: 0.5938 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001301/1.057, allocations: 16.31 kB / 1.24 GB, free: 0.5898 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0006801/1.058, allocations: 193.4 kB / 1.241 GB, free: 428 kB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.002145/1.06, allocations: 0.5149 MB / 1.241 GB, free: 40 kB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002701/1.063, allocations: 0.9397 MB / 1.242 GB, free: 15.32 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001975/1.065, allocations: 1.5 MB / 1.243 GB, free: 14.39 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001112/1.066, allocations: 0.7999 MB / 1.244 GB, free: 13.89 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009368/1.067, allocations: 0.5825 MB / 1.245 GB, free: 13.52 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007615/1.068, allocations: 0.627 MB / 1.245 GB, free: 13.06 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0002098/1.068, allocations: 144 kB / 1.246 GB, free: 13.03 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001172/1.069, allocations: 0.523 MB / 1.246 GB, free: 12.5 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0003214/1.069, allocations: 358.8 kB / 1.246 GB, free: 12.15 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0005519/1.07, allocations: 0.6451 MB / 1.247 GB, free: 11.5 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.002132/1.072, allocations: 1.875 MB / 1.249 GB, free: 9.625 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/1.072, allocations: 0 / 1.249 GB, free: 9.625 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.084e-06/1.072, allocations: 0 / 1.249 GB, free: 9.625 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 2.045e-05/1.072, allocations: 0 / 1.249 GB, free: 9.625 MB / 0.9825 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.003091/1.075, allocations: 1.657 MB / 1.25 GB, free: 7.914 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.638e-05/1.075, allocations: 12.02 kB / 1.25 GB, free: 7.902 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005182/1.08, allocations: 0.7562 MB / 1.251 GB, free: 7.145 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001512/1.082, allocations: 0.8357 MB / 1.252 GB, free: 6.266 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.986e-05/1.082, allocations: 78.2 kB / 1.252 GB, free: 6.188 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001575/1.082, allocations: 107.9 kB / 1.252 GB, free: 6.082 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003326/1.086, allocations: 1.432 MB / 1.254 GB, free: 4.586 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.282e-05/1.086, allocations: 7.984 kB / 1.254 GB, free: 4.578 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001226/1.086, allocations: 48 kB / 1.254 GB, free: 4.531 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.118e-05/1.086, allocations: 24 kB / 1.254 GB, free: 4.508 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004631/1.09, allocations: 1.885 MB / 1.256 GB, free: 2.613 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006115/1.097, allocations: 3.218 MB / 1.259 GB, free: 15.32 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003351/1.1, allocations: 1.373 MB / 1.26 GB, free: 13.93 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001506/1.101, allocations: 0.6033 MB / 1.261 GB, free: 13.33 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006611/1.102, allocations: 482.6 kB / 1.261 GB, free: 12.77 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001871/1.104, allocations: 0.8009 MB / 1.262 GB, free: 11.94 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=109): time 3.226e-06/1.104, allocations: 0 / 1.262 GB, free: 11.94 MB / 0.9981 GB Notification: Performance of matching and sorting (n=109): time 0.006105/1.11, allocations: 1.973 MB / 1.264 GB, free: 9.945 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001102/1.11, allocations: 192.9 kB / 1.264 GB, free: 9.711 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009006/1.111, allocations: 0.6489 MB / 1.265 GB, free: 9.051 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.000115/1.111, allocations: 49.7 kB / 1.265 GB, free: 8.996 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003523/1.112, allocations: 440.5 kB / 1.265 GB, free: 8.559 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002983/1.112, allocations: 350.9 kB / 1.265 GB, free: 8.211 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003394/1.112, allocations: 214.4 kB / 1.266 GB, free: 7.996 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001741/1.113, allocations: 406.6 kB / 1.266 GB, free: 7.59 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001456/1.114, allocations: 0.4977 MB / 1.266 GB, free: 7.094 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001561/1.116, allocations: 0.6091 MB / 1.267 GB, free: 6.465 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00291/1.118, allocations: 1.078 MB / 1.268 GB, free: 5.375 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/1.119, allocations: 4 kB / 1.268 GB, free: 5.371 MB / 0.9981 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.003995/1.123, allocations: 1.364 MB / 1.269 GB, free: 3.992 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.377e-05/1.123, allocations: 4 kB / 1.269 GB, free: 3.988 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.428e-06/1.123, allocations: 4.125 kB / 1.269 GB, free: 3.984 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005764/1.123, allocations: 84.77 kB / 1.27 GB, free: 3.898 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001405/1.125, allocations: 267.6 kB / 1.27 GB, free: 3.637 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002288/1.127, allocations: 1.634 MB / 1.271 GB, free: 1.855 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001394/1.128, allocations: 163.1 kB / 1.272 GB, free: 1.695 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001032/1.128, allocations: 47.95 kB / 1.272 GB, free: 1.648 MB / 0.9981 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.0006023/1.129, allocations: 291.4 kB / 1.272 GB, free: 1.352 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002215/1.129, allocations: 94.81 kB / 1.272 GB, free: 1.258 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004461/1.134, allocations: 1.672 MB / 1.274 GB, free: 15.57 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.12e-05/1.134, allocations: 12 kB / 1.274 GB, free: 15.56 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/1.134, allocations: 4 kB / 1.274 GB, free: 15.55 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.843e-05/1.134, allocations: 3.984 kB / 1.274 GB, free: 15.55 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006038/1.14, allocations: 2.854 MB / 1.276 GB, free: 12.63 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.732e-06/1.14, allocations: 0 / 1.276 GB, free: 12.63 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001313/1.141, allocations: 259.6 kB / 1.277 GB, free: 12.38 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004397/1.142, allocations: 68.8 kB / 1.277 GB, free: 12.31 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.994e-05/1.142, allocations: 39.95 kB / 1.277 GB, free: 12.27 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001928/1.144, allocations: 1.662 MB / 1.278 GB, free: 10.46 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/1.144, allocations: 3.938 kB / 1.278 GB, free: 10.46 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004062/1.148, allocations: 1.529 MB / 1.28 GB, free: 8.906 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005622/1.148, allocations: 327.3 kB / 1.28 GB, free: 8.566 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001737/1.149, allocations: 20 kB / 1.28 GB, free: 8.547 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001188/1.15, allocations: 130.4 kB / 1.28 GB, free: 8.422 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001845/1.15, allocations: 80.89 kB / 1.28 GB, free: 8.344 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.892e-05/1.15, allocations: 47.95 kB / 1.28 GB, free: 8.297 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0006122/1.151, allocations: 471 kB / 1.281 GB, free: 7.844 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.5e-07/1.151, allocations: 0 / 1.281 GB, free: 7.844 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.00109/1.152, allocations: 383 kB / 1.281 GB, free: 7.469 MB / 1.014 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.001476/1.153, allocations: 0.6404 MB / 1.282 GB, free: 7.008 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.003756/1.157, allocations: 1.386 MB / 1.283 GB, free: 5.609 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 6.261e-06/1.157, allocations: 4 kB / 1.283 GB, free: 5.605 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001947/1.159, allocations: 0.8125 MB / 1.284 GB, free: 4.777 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00135/1.16, allocations: 292.5 kB / 1.284 GB, free: 4.504 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005284/1.166, allocations: 2.24 MB / 1.287 GB, free: 2.234 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006793/1.166, allocations: 1.088 MB / 1.288 GB, free: 1.121 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006108/1.167, allocations: 143.3 kB / 1.288 GB, free: 0.9805 MB / 1.014 GB Notification: Performance of SimCode: time 1.453e-06/1.167, allocations: 0 / 1.288 GB, free: 0.9805 MB / 1.014 GB Notification: Performance of Templates: time 0.03077/1.198, allocations: 22.66 MB / 1.31 GB, free: 10.44 MB / 1.045 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.sim & ./Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_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