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.006837/0.006837, allocations: 99.34 kB / 15.73 MB, free: 6.008 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.001477/0.001477, allocations: 197.3 kB / 16.67 MB, free: 5.934 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.38/1.38, allocations: 222.9 MB / 240.4 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.213/2.213, allocations: 390.2 MB / 0.6648 GB, free: 0.6602 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001224/0.001224, allocations: 67.89 kB / 0.9508 GB, free: 7.668 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.001/1.002, allocations: 140.4 MB / 1.088 GB, free: 5.52 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient): time 0.006933/1.009, allocations: 4.647 MB / 1.092 GB, free: 2.215 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.2124/1.221, allocations: 150.8 MB / 1.24 GB, free: 0.5742 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001745/1.223, allocations: 19.72 kB / 1.24 GB, free: 0.5664 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0007458/1.224, allocations: 185 kB / 1.24 GB, free: 412 kB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.002239/1.226, allocations: 0.5135 MB / 1.24 GB, free: 24 kB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002998/1.229, allocations: 0.9518 MB / 1.241 GB, free: 15.3 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.002262/1.231, allocations: 1.493 MB / 1.243 GB, free: 14.38 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001306/1.233, allocations: 0.7986 MB / 1.244 GB, free: 13.87 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00103/1.234, allocations: 0.571 MB / 1.244 GB, free: 13.52 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008264/1.235, allocations: 0.6364 MB / 1.245 GB, free: 13.05 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0002286/1.235, allocations: 143.1 kB / 1.245 GB, free: 13.04 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001424/1.236, allocations: 0.523 MB / 1.245 GB, free: 12.52 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0003498/1.237, allocations: 366.8 kB / 1.246 GB, free: 12.16 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.000587/1.237, allocations: 0.6412 MB / 1.246 GB, free: 11.52 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.002426/1.24, allocations: 1.884 MB / 1.248 GB, free: 9.625 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/1.24, allocations: 0 / 1.248 GB, free: 9.625 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.412e-06/1.24, allocations: 0 / 1.248 GB, free: 9.625 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.939e-05/1.24, allocations: 0 / 1.248 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.003394/1.243, allocations: 1.701 MB / 1.25 GB, free: 7.867 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.185e-05/1.243, allocations: 12.03 kB / 1.25 GB, free: 7.855 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005406/1.249, allocations: 0.7608 MB / 1.251 GB, free: 7.094 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001418/1.25, allocations: 0.8363 MB / 1.251 GB, free: 6.215 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.466e-05/1.25, allocations: 78.2 kB / 1.251 GB, free: 6.137 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001689/1.25, allocations: 112 kB / 1.252 GB, free: 6.027 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003433/1.254, allocations: 1.432 MB / 1.253 GB, free: 4.531 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.353e-05/1.254, allocations: 0 / 1.253 GB, free: 4.531 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001286/1.254, allocations: 55.97 kB / 1.253 GB, free: 4.477 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.265e-05/1.254, allocations: 28 kB / 1.253 GB, free: 4.449 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005022/1.259, allocations: 1.882 MB / 1.255 GB, free: 2.559 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006409/1.265, allocations: 3.234 MB / 1.258 GB, free: 15.25 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003557/1.269, allocations: 1.373 MB / 1.259 GB, free: 13.86 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001622/1.271, allocations: 0.5933 MB / 1.26 GB, free: 13.27 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007695/1.271, allocations: 482.5 kB / 1.26 GB, free: 12.7 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002015/1.273, allocations: 0.8088 MB / 1.261 GB, free: 11.87 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=109): time 2.925e-06/1.273, allocations: 3.938 kB / 1.261 GB, free: 11.87 MB / 0.9981 GB Notification: Performance of matching and sorting (n=109): time 0.006568/1.28, allocations: 1.97 MB / 1.263 GB, free: 9.875 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001252/1.28, allocations: 200.8 kB / 1.263 GB, free: 9.633 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009138/1.281, allocations: 0.6489 MB / 1.264 GB, free: 8.973 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.000102/1.281, allocations: 45.7 kB / 1.264 GB, free: 8.922 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003893/1.282, allocations: 449.4 kB / 1.264 GB, free: 8.477 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003222/1.282, allocations: 368.8 kB / 1.265 GB, free: 8.113 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003538/1.282, allocations: 214.4 kB / 1.265 GB, free: 7.898 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001843/1.283, allocations: 398.7 kB / 1.265 GB, free: 7.5 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001586/1.284, allocations: 0.4977 MB / 1.266 GB, free: 7.004 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001689/1.286, allocations: 0.6131 MB / 1.266 GB, free: 6.371 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003161/1.289, allocations: 1.074 MB / 1.268 GB, free: 5.285 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.898e-06/1.289, allocations: 0 / 1.268 GB, free: 5.285 MB / 0.9981 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.004265/1.293, allocations: 1.372 MB / 1.269 GB, free: 3.898 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 5.769e-05/1.293, allocations: 8 kB / 1.269 GB, free: 3.891 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.295e-06/1.293, allocations: 0 / 1.269 GB, free: 3.891 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005975/1.294, allocations: 84.89 kB / 1.269 GB, free: 3.805 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001476/1.295, allocations: 267.6 kB / 1.269 GB, free: 3.543 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002237/1.298, allocations: 1.647 MB / 1.271 GB, free: 1.75 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001402/1.299, allocations: 163.5 kB / 1.271 GB, free: 1.59 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001137/1.299, allocations: 55.95 kB / 1.271 GB, free: 1.535 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.0006061/1.3, allocations: 291.3 kB / 1.271 GB, free: 1.238 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002254/1.3, allocations: 103.3 kB / 1.271 GB, free: 1.137 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004884/1.305, allocations: 1.672 MB / 1.273 GB, free: 15.45 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.225e-05/1.305, allocations: 12 kB / 1.273 GB, free: 15.44 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/1.305, allocations: 0 / 1.273 GB, free: 15.44 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.27e-05/1.305, allocations: 7.969 kB / 1.273 GB, free: 15.43 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006612/1.312, allocations: 2.85 MB / 1.276 GB, free: 12.52 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.995e-06/1.312, allocations: 4 kB / 1.276 GB, free: 12.51 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001388/1.313, allocations: 255.6 kB / 1.276 GB, free: 12.26 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004451/1.314, allocations: 72.78 kB / 1.276 GB, free: 12.19 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.66e-05/1.314, allocations: 35.97 kB / 1.276 GB, free: 12.15 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001973/1.316, allocations: 1.666 MB / 1.278 GB, free: 10.34 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/1.316, allocations: 3.938 kB / 1.278 GB, free: 10.34 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004283/1.32, allocations: 1.533 MB / 1.279 GB, free: 8.781 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005888/1.321, allocations: 324 kB / 1.28 GB, free: 8.445 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001798/1.321, allocations: 24 kB / 1.28 GB, free: 8.422 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001251/1.322, allocations: 119.9 kB / 1.28 GB, free: 8.305 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001758/1.322, allocations: 88.88 kB / 1.28 GB, free: 8.219 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000103/1.322, allocations: 47.97 kB / 1.28 GB, free: 8.172 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0006004/1.323, allocations: 467 kB / 1.28 GB, free: 7.723 MB / 1.014 GB Notification: Performance of sort global known variables: time 3.5e-07/1.323, allocations: 0 / 1.28 GB, free: 7.723 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001067/1.324, allocations: 398.9 kB / 1.281 GB, free: 7.332 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.001611/1.326, allocations: 0.6242 MB / 1.281 GB, free: 6.887 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.004167/1.33, allocations: 1.39 MB / 1.283 GB, free: 5.484 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 5.36e-06/1.33, allocations: 3.984 kB / 1.283 GB, free: 5.48 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001956/1.332, allocations: 0.8241 MB / 1.283 GB, free: 4.641 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001315/1.333, allocations: 305.4 kB / 1.284 GB, free: 4.359 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005209/1.338, allocations: 2.219 MB / 1.286 GB, free: 2.113 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000707/1.339, allocations: 1.084 MB / 1.287 GB, free: 1.004 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001332/1.34, allocations: 339.7 kB / 1.287 GB, free: 0.668 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004643/1.341, allocations: 127.4 kB / 1.287 GB, free: 0.543 MB / 1.014 GB Notification: Performance of SimCode: time 1.102e-06/1.341, allocations: 0 / 1.287 GB, free: 0.543 MB / 1.014 GB Notification: Performance of Templates: time 0.02975/1.371, allocations: 18.41 MB / 1.305 GB, free: 14.34 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches