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: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006793/0.006793, allocations: 104.7 kB / 15.74 MB, free: 6.484 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.001611/0.001611, allocations: 193.5 kB / 16.67 MB, free: 6.375 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.302/1.302, allocations: 222.9 MB / 240.4 MB, free: 4.301 MB / 190.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.229/2.229, allocations: 390.2 MB / 0.6648 GB, free: 232 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001279/0.001279, allocations: 62.5 kB / 0.9504 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2411/0.2424, allocations: 140.4 MB / 1.087 GB, free: 2.004 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient): time 0.006121/0.2486, allocations: 4.663 MB / 1.092 GB, free: 13.31 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.1411/0.3898, allocations: 150.7 MB / 1.239 GB, free: 5.977 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009734/0.3908, allocations: 19.94 kB / 1.239 GB, free: 5.957 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0007304/0.3916, allocations: 194.1 kB / 1.239 GB, free: 5.766 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.001974/0.3936, allocations: 0.5153 MB / 1.24 GB, free: 5.254 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002423/0.396, allocations: 0.9423 MB / 1.241 GB, free: 4.316 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001735/0.3978, allocations: 1.504 MB / 1.242 GB, free: 2.805 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001119/0.3989, allocations: 0.7937 MB / 1.243 GB, free: 1.977 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007893/0.3997, allocations: 0.5723 MB / 1.244 GB, free: 1.402 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007628/0.4005, allocations: 0.6301 MB / 1.244 GB, free: 0.7695 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003009/0.4008, allocations: 144 kB / 1.244 GB, free: 0.6289 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009451/0.4018, allocations: 0.523 MB / 1.245 GB, free: 108 kB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004782/0.4022, allocations: 358.9 kB / 1.245 GB, free: 15.75 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.000738/0.403, allocations: 0.649 MB / 1.246 GB, free: 15.1 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.002482/0.4055, allocations: 1.878 MB / 1.248 GB, free: 13.22 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.4055, allocations: 0 / 1.248 GB, free: 13.22 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.783e-06/0.4055, allocations: 3.938 kB / 1.248 GB, free: 13.21 MB / 1.014 GB Notification: Performance of Transformations before backend: time 4.797e-05/0.4056, allocations: 0 / 1.248 GB, free: 13.21 MB / 1.014 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.003673/0.4092, allocations: 1.665 MB / 1.249 GB, free: 11.5 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.044e-05/0.4093, allocations: 12.03 kB / 1.249 GB, free: 11.48 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002117/0.4095, allocations: 169.1 kB / 1.25 GB, free: 11.31 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00486/0.4144, allocations: 0.7561 MB / 1.25 GB, free: 10.55 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001352/0.4157, allocations: 0.8278 MB / 1.251 GB, free: 9.676 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.904e-05/0.4158, allocations: 82.2 kB / 1.251 GB, free: 9.594 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001831/0.416, allocations: 112 kB / 1.251 GB, free: 9.484 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003172/0.4192, allocations: 1.432 MB / 1.253 GB, free: 7.988 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.749e-05/0.4192, allocations: 0 / 1.253 GB, free: 7.988 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001242/0.4194, allocations: 47.98 kB / 1.253 GB, free: 7.941 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.358e-05/0.4194, allocations: 24 kB / 1.253 GB, free: 7.918 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004649/0.424, allocations: 1.889 MB / 1.255 GB, free: 6.02 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006334/0.4304, allocations: 3.229 MB / 1.258 GB, free: 2.723 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003285/0.4337, allocations: 1.37 MB / 1.259 GB, free: 1.328 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001491/0.4352, allocations: 0.5933 MB / 1.26 GB, free: 0.7344 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006599/0.4359, allocations: 486.5 kB / 1.26 GB, free: 168 kB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.4762/0.9121, allocations: 0.8043 MB / 1.261 GB, free: 173.1 MB / 1.014 GB Notification: Performance of pre-optimization done (n=109): time 5.5e-06/0.9122, allocations: 0.75 kB / 1.261 GB, free: 173.1 MB / 1.014 GB Notification: Performance of matching and sorting (n=109): time 0.006187/0.9184, allocations: 1.961 MB / 1.263 GB, free: 173 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.315e-05/0.9185, allocations: 199.9 kB / 1.263 GB, free: 172.7 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008973/0.9194, allocations: 0.6475 MB / 1.264 GB, free: 172.6 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001032/0.9195, allocations: 49.34 kB / 1.264 GB, free: 172.6 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003152/0.9198, allocations: 448.3 kB / 1.264 GB, free: 172.4 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002468/0.9201, allocations: 352.7 kB / 1.264 GB, free: 172.2 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003513/0.9204, allocations: 190.9 kB / 1.265 GB, free: 172.2 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001185/0.9205, allocations: 398.2 kB / 1.265 GB, free: 171.8 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00141/0.922, allocations: 488.4 kB / 1.265 GB, free: 171.7 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001478/0.9235, allocations: 0.6094 MB / 1.266 GB, free: 171.4 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002703/0.9262, allocations: 1.054 MB / 1.267 GB, free: 171 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.502e-06/0.9262, allocations: 0.8125 kB / 1.267 GB, free: 171 MB / 1.014 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.003795/0.93, allocations: 1.32 MB / 1.268 GB, free: 170.6 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.601e-05/0.93, allocations: 5.594 kB / 1.268 GB, free: 170.6 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.115e-05/0.9301, allocations: 2.5 kB / 1.268 GB, free: 170.6 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005779/0.9306, allocations: 86.42 kB / 1.268 GB, free: 170.6 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001382/0.932, allocations: 262 kB / 1.269 GB, free: 170.5 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001735/0.9338, allocations: 1.627 MB / 1.27 GB, free: 169 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001286/0.9351, allocations: 159.7 kB / 1.27 GB, free: 169 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001246/0.9352, allocations: 43.64 kB / 1.27 GB, free: 168.9 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 15 (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 (116): * Single equations (assignments): 115 * 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.0005161/0.9357, allocations: 297.9 kB / 1.271 GB, free: 168.7 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002183/0.936, allocations: 92 kB / 1.271 GB, free: 168.7 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004815/0.9408, allocations: 1.678 MB / 1.273 GB, free: 168.1 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.869e-05/0.9408, allocations: 11.94 kB / 1.273 GB, free: 168.1 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/0.9408, allocations: 4.5 kB / 1.273 GB, free: 168.1 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.548e-05/0.9408, allocations: 6.812 kB / 1.273 GB, free: 168.1 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006352/0.9472, allocations: 2.85 MB / 1.275 GB, free: 166.9 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.374e-06/0.9473, allocations: 0.7031 kB / 1.275 GB, free: 166.9 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001287/0.9486, allocations: 255 kB / 1.276 GB, free: 166.8 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004439/0.949, allocations: 69.84 kB / 1.276 GB, free: 166.8 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.595e-05/0.9491, allocations: 35.59 kB / 1.276 GB, free: 166.8 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001787/0.9509, allocations: 1.665 MB / 1.277 GB, free: 165.3 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/0.9509, allocations: 0.7031 kB / 1.277 GB, free: 165.3 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004043/0.955, allocations: 1.53 MB / 1.279 GB, free: 164.6 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004827/0.9555, allocations: 317 kB / 1.279 GB, free: 164.4 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001461/0.9556, allocations: 23.58 kB / 1.279 GB, free: 164.4 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001092/0.9567, allocations: 125.9 kB / 1.279 GB, free: 164.4 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002028/0.9569, allocations: 85.19 kB / 1.279 GB, free: 164.4 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001108/0.9571, allocations: 49.88 kB / 1.279 GB, free: 164.4 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0006467/0.9577, allocations: 479.1 kB / 1.28 GB, free: 164.1 MB / 1.014 GB Notification: Performance of sort global known variables: time 3.11e-07/0.9577, allocations: 0 / 1.28 GB, free: 164.1 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001299/0.959, allocations: 379.8 kB / 1.28 GB, free: 164.1 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.005331/0.9644, allocations: 2.597 MB / 1.283 GB, free: 162.8 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.003535/0.9679, allocations: 1.357 MB / 1.284 GB, free: 162.3 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 5.079e-06/0.9679, allocations: 1.125 kB / 1.284 GB, free: 162.3 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001806/0.9698, allocations: 0.8253 MB / 1.285 GB, free: 162 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001323/0.9711, allocations: 303 kB / 1.285 GB, free: 161.9 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01719/0.9883, allocations: 8.292 MB / 1.293 GB, free: 158.1 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006773/0.989, allocations: 1.083 MB / 1.294 GB, free: 157.3 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001482/0.9905, allocations: 346.8 kB / 1.295 GB, free: 157.2 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000845/0.9914, allocations: 462.6 kB / 1.295 GB, free: 156.9 MB / 1.014 GB Notification: Performance of SimCode: time 1.133e-06/0.9914, allocations: 0 / 1.295 GB, free: 156.9 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05372/1.045, allocations: 25.51 MB / 1.32 GB, free: 140 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.63/13.68, allocations: 18.56 kB / 1.32 GB, free: 140 MB / 1.014 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient_res.mat --tempDir=temp_Buildings_9_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient.fmu > 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) Reference file matches