Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.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.Examples.DirectTiltedSurface,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface",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.005857/0.005857, allocations: 101.2 kB / 15.73 MB, free: 6.047 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.001258/0.001258, allocations: 195.2 kB / 16.67 MB, free: 5.977 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.288/1.288, allocations: 222.9 MB / 240.4 MB, free: 4.328 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.102/2.102, allocations: 390.2 MB / 0.6648 GB, free: 236 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001273/0.001273, allocations: 61.69 kB / 0.9504 GB, free: 5.988 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2666/0.2678, allocations: 140.4 MB / 1.087 GB, free: 2.07 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface): time 0.006324/0.2742, allocations: 5.326 MB / 1.093 GB, free: 12.72 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.1368/0.4111, allocations: 151 MB / 1.24 GB, free: 5.148 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006288/0.4117, allocations: 19.94 kB / 1.24 GB, free: 5.129 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0005106/0.4122, allocations: 205.9 kB / 1.24 GB, free: 4.926 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.001463/0.4138, allocations: 0.6336 MB / 1.241 GB, free: 4.293 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001761/0.4155, allocations: 1.003 MB / 1.242 GB, free: 3.301 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.00136/0.4169, allocations: 1.81 MB / 1.244 GB, free: 1.484 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001156/0.4181, allocations: 1.16 MB / 1.245 GB, free: 292 kB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006721/0.4187, allocations: 0.7863 MB / 1.246 GB, free: 15.5 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006884/0.4194, allocations: 0.8362 MB / 1.246 GB, free: 14.66 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0002046/0.4196, allocations: 219.9 kB / 1.247 GB, free: 14.44 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007387/0.4204, allocations: 0.5855 MB / 1.247 GB, free: 13.86 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0003324/0.4207, allocations: 494.5 kB / 1.248 GB, free: 13.37 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0006084/0.4213, allocations: 0.9134 MB / 1.249 GB, free: 12.45 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.001938/0.4233, allocations: 2.571 MB / 1.251 GB, free: 9.875 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.4233, allocations: 0 / 1.251 GB, free: 9.875 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.072e-06/0.4233, allocations: 0 / 1.251 GB, free: 9.875 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.531e-05/0.4233, allocations: 0 / 1.251 GB, free: 9.875 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: 398 * Number of variables: 398 Notification: Performance of Generate backend data structure: time 0.003037/0.4264, allocations: 2.01 MB / 1.253 GB, free: 7.809 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.274e-05/0.4264, allocations: 8.031 kB / 1.253 GB, free: 7.801 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002148/0.4266, allocations: 228.2 kB / 1.253 GB, free: 7.566 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008857/0.4275, allocations: 250.6 kB / 1.253 GB, free: 7.32 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001289/0.4288, allocations: 1.001 MB / 1.254 GB, free: 6.277 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001159/0.429, allocations: 144.8 kB / 1.255 GB, free: 6.129 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001673/0.4291, allocations: 155.9 kB / 1.255 GB, free: 5.977 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002294/0.4314, allocations: 1.585 MB / 1.256 GB, free: 4.336 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.752e-05/0.4315, allocations: 0 / 1.256 GB, free: 4.336 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001158/0.4316, allocations: 71.98 kB / 1.256 GB, free: 4.266 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.156e-05/0.4316, allocations: 36 kB / 1.256 GB, free: 4.23 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002299/0.4339, allocations: 1.588 MB / 1.258 GB, free: 2.637 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4675/0.9015, allocations: 4.18 MB / 1.262 GB, free: 171.5 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001792/0.9033, allocations: 1.094 MB / 1.263 GB, free: 171.4 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006528/0.9039, allocations: 426.1 kB / 1.263 GB, free: 171.4 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 9.189e-05/0.904, allocations: 44.69 kB / 1.264 GB, free: 171.4 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001151/0.9052, allocations: 0.7002 MB / 1.264 GB, free: 171.3 MB / 1.014 GB Notification: Performance of pre-optimization done (n=111): time 2.846e-06/0.9052, allocations: 0 / 1.264 GB, free: 171.3 MB / 1.014 GB Notification: Performance of matching and sorting (n=111): time 0.003606/0.9088, allocations: 1.647 MB / 1.266 GB, free: 170.7 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.432e-05/0.9089, allocations: 197.6 kB / 1.266 GB, free: 170.5 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009632/0.9099, allocations: 0.8411 MB / 1.267 GB, free: 170.1 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 6.63e-05/0.9099, allocations: 48.17 kB / 1.267 GB, free: 170.1 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003373/0.9103, allocations: 0.6263 MB / 1.267 GB, free: 169.6 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001919/0.9105, allocations: 353.1 kB / 1.268 GB, free: 169.4 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002897/0.9108, allocations: 211.2 kB / 1.268 GB, free: 169.3 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 5.681e-05/0.9108, allocations: 347.7 kB / 1.268 GB, free: 169 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006571/0.9115, allocations: 376.9 kB / 1.269 GB, free: 168.8 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007712/0.9123, allocations: 0.5042 MB / 1.269 GB, free: 168.6 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001434/0.9137, allocations: 0.8555 MB / 1.27 GB, free: 168.2 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.9137, allocations: 1.391 kB / 1.27 GB, free: 168.2 MB / 1.014 GB Notification: Performance of matching and sorting (n=129) (initialization): time 0.002372/0.9161, allocations: 1.144 MB / 1.271 GB, free: 167.7 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.14e-05/0.9161, allocations: 5.906 kB / 1.271 GB, free: 167.7 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/0.9162, allocations: 1.906 kB / 1.271 GB, free: 167.7 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005919/0.9168, allocations: 87.81 kB / 1.271 GB, free: 167.7 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009423/0.9177, allocations: 226.5 kB / 1.271 GB, free: 167.7 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001676/0.9194, allocations: 1.641 MB / 1.273 GB, free: 166.1 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008118/0.9202, allocations: 132.7 kB / 1.273 GB, free: 166.1 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.912e-05/0.9203, allocations: 45.42 kB / 1.273 GB, free: 166.1 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: 24 (HDirWal.incAng.decAng.tNext,$PRE.HDirWal.incAng.decAng.tNext,HDirFlo.incAng.decAng.tNext,$PRE.HDirFlo.incAng.decAng.tNext,HDirRoo.incAng.decAng.tNext,$PRE.HDirRoo.incAng.decAng.tNext,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,$whenCondition6,$whenCondition7,$whenCondition8) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (127): * Single equations (assignments): 126 * 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.0005051/0.9208, allocations: 354.3 kB / 1.274 GB, free: 165.8 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002062/0.9211, allocations: 112.6 kB / 1.274 GB, free: 165.8 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002954/0.924, allocations: 1.526 MB / 1.275 GB, free: 165.2 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.909e-06/0.924, allocations: 13.47 kB / 1.275 GB, free: 165.2 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.924, allocations: 3.938 kB / 1.275 GB, free: 165.2 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.382e-05/0.9241, allocations: 6.422 kB / 1.275 GB, free: 165.2 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001328/0.9254, allocations: 1.379 MB / 1.277 GB, free: 164.5 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.418e-06/0.9254, allocations: 1.25 kB / 1.277 GB, free: 164.5 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007304/0.9261, allocations: 196.2 kB / 1.277 GB, free: 164.5 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003973/0.9265, allocations: 73.45 kB / 1.277 GB, free: 164.5 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.914e-05/0.9266, allocations: 38.8 kB / 1.277 GB, free: 164.5 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00139/0.928, allocations: 1.666 MB / 1.278 GB, free: 162.9 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.928, allocations: 0.5 kB / 1.278 GB, free: 162.9 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002329/0.9304, allocations: 1.289 MB / 1.28 GB, free: 162.4 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004252/0.9308, allocations: 362.3 kB / 1.28 GB, free: 162.1 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001281/0.9309, allocations: 29.69 kB / 1.28 GB, free: 162.1 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000764/0.9317, allocations: 78.09 kB / 1.28 GB, free: 162.1 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001812/0.9319, allocations: 98.91 kB / 1.28 GB, free: 162.1 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.944e-05/0.932, allocations: 61.64 kB / 1.28 GB, free: 162 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0006848/0.9327, allocations: 0.6189 MB / 1.281 GB, free: 161.8 MB / 1.014 GB Notification: Performance of sort global known variables: time 6.02e-07/0.9327, allocations: 0 / 1.281 GB, free: 161.8 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0008802/0.9336, allocations: 444 kB / 1.281 GB, free: 161.7 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: 16 ($whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,HDirRoo.incAng.decAng.tNext,HDirFlo.incAng.decAng.tNext,HDirWal.incAng.decAng.tNext) * Number of discrete states: 8 (weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,HDirRoo.incAng.decAng.tNext,HDirFlo.incAng.decAng.tNext,HDirWal.incAng.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (128): * Single equations (assignments): 119 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.003388/0.937, allocations: 2.347 MB / 1.284 GB, free: 160.5 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001915/0.9389, allocations: 1.115 MB / 1.285 GB, free: 160 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.387e-06/0.9389, allocations: 7.562 kB / 1.285 GB, free: 160 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001034/0.94, allocations: 0.6756 MB / 1.285 GB, free: 159.7 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001188/0.9412, allocations: 322.2 kB / 1.286 GB, free: 159.6 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01242/0.9536, allocations: 8.852 MB / 1.294 GB, free: 155.4 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006192/0.9542, allocations: 1.22 MB / 1.296 GB, free: 154.6 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0008951/0.9551, allocations: 324.1 kB / 1.296 GB, free: 154.6 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006691/0.9558, allocations: 0.6069 MB / 1.296 GB, free: 154.1 MB / 1.014 GB Notification: Performance of SimCode: time 4.41e-07/0.9558, allocations: 4 kB / 1.296 GB, free: 154.1 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.622/3.578, allocations: 29.34 MB / 1.325 GB, free: 134 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 28.1/31.68, allocations: 8.688 kB / 1.325 GB, free: 133.9 MB / 1.014 GB (rm -f Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface_res.mat --tempDir=temp_Buildings_9_Buildings_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface_fmu --startTime=1.82304e+07 --stopTime=1.83168e+07 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface.fmu > Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches