Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_WallSolarAzimuth",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_WallSolarAzimuth",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.007535/0.007535, allocations: 96.7 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.002035/0.002035, allocations: 194.8 kB / 16.67 MB, free: 5.973 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.408/1.408, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.893/2.893, allocations: 482.4 MB / 0.7548 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001921/0.001921, allocations: 67.89 kB / 1.083 GB, free: 12.57 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2815/0.2834, allocations: 162.2 MB / 1.241 GB, free: 10.22 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth): time 0.007291/0.2907, allocations: 5.361 MB / 1.247 GB, free: 4.832 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.6563/0.9471, allocations: 150.8 MB / 1.394 GB, free: 1.402 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007562/0.9479, allocations: 20.38 kB / 1.394 GB, free: 1.395 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.0006776/0.9486, allocations: 206.1 kB / 1.394 GB, free: 1.215 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.001919/0.9505, allocations: 0.5989 MB / 1.395 GB, free: 0.7773 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.002075/0.9526, allocations: 0.8918 MB / 1.396 GB, free: 116 kB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.001831/0.9545, allocations: 1.562 MB / 1.397 GB, free: 15.14 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009478/0.9554, allocations: 0.6736 MB / 1.398 GB, free: 14.73 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006521/0.9561, allocations: 0.5606 MB / 1.398 GB, free: 14.39 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007101/0.9568, allocations: 0.5885 MB / 1.399 GB, free: 13.97 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0001753/0.957, allocations: 138.2 kB / 1.399 GB, free: 13.97 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009015/0.9579, allocations: 0.5145 MB / 1.4 GB, free: 13.78 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.000335/0.9582, allocations: 338.9 kB / 1.4 GB, free: 13.51 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0006331/0.9589, allocations: 0.6499 MB / 1.401 GB, free: 13.03 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.002047/0.9609, allocations: 1.865 MB / 1.402 GB, free: 11.68 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.961, allocations: 0 / 1.402 GB, free: 11.68 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.162e-06/0.961, allocations: 1.438 kB / 1.402 GB, free: 11.68 MB / 1.107 GB Notification: Performance of Transformations before backend: time 1.415e-05/0.961, allocations: 0 / 1.402 GB, free: 11.68 MB / 1.107 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 255 * Number of variables: 255 Notification: Performance of Generate backend data structure: time 0.002849/0.9638, allocations: 1.627 MB / 1.404 GB, free: 10.4 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 3.336e-05/0.9639, allocations: 10.16 kB / 1.404 GB, free: 10.4 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001981/0.9641, allocations: 156.5 kB / 1.404 GB, free: 10.28 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009538/0.965, allocations: 210 kB / 1.404 GB, free: 10.18 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001262/0.9663, allocations: 0.8262 MB / 1.405 GB, free: 9.5 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.858e-05/0.9664, allocations: 75.11 kB / 1.405 GB, free: 9.465 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001276/0.9665, allocations: 96.94 kB / 1.405 GB, free: 9.434 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001885/0.9684, allocations: 1.069 MB / 1.406 GB, free: 8.73 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.395e-05/0.9685, allocations: 0 / 1.406 GB, free: 8.73 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001028/0.9686, allocations: 46.08 kB / 1.406 GB, free: 8.695 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.966e-05/0.9686, allocations: 24.41 kB / 1.406 GB, free: 8.695 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002103/0.9707, allocations: 1.222 MB / 1.408 GB, free: 8.109 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004876/0.9756, allocations: 3.268 MB / 1.411 GB, free: 5.449 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001722/0.9773, allocations: 0.8951 MB / 1.412 GB, free: 5 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006426/0.978, allocations: 342.2 kB / 1.412 GB, free: 4.828 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 8.836e-05/0.9781, allocations: 36.33 kB / 1.412 GB, free: 4.809 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001007/0.9791, allocations: 0.5537 MB / 1.413 GB, free: 4.461 MB / 1.107 GB Notification: Performance of pre-optimization done (n=92): time 2.405e-06/0.9791, allocations: 0 / 1.413 GB, free: 4.461 MB / 1.107 GB Notification: Performance of matching and sorting (n=92): time 0.00353/0.9826, allocations: 1.348 MB / 1.414 GB, free: 3.73 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001248/0.9828, allocations: 195.4 kB / 1.414 GB, free: 3.508 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008751/0.9837, allocations: 0.6796 MB / 1.415 GB, free: 3.117 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 7.444e-05/0.9837, allocations: 43.8 kB / 1.415 GB, free: 3.074 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003885/0.9841, allocations: 460.3 kB / 1.415 GB, free: 2.672 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002692/0.9844, allocations: 314.3 kB / 1.415 GB, free: 2.398 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002698/0.9847, allocations: 165.1 kB / 1.416 GB, free: 2.301 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.000221/0.9849, allocations: 397.6 kB / 1.416 GB, free: 1.922 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005982/0.9855, allocations: 287.6 kB / 1.416 GB, free: 1.777 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007345/0.9863, allocations: 405 kB / 1.417 GB, free: 1.527 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001303/0.9876, allocations: 0.6643 MB / 1.417 GB, free: 1.168 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.9876, allocations: 1.312 kB / 1.417 GB, free: 1.168 MB / 1.107 GB Notification: Performance of matching and sorting (n=103) (initialization): time 0.002117/0.9897, allocations: 0.9069 MB / 1.418 GB, free: 0.7031 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.407e-05/0.9897, allocations: 8.906 kB / 1.418 GB, free: 0.7031 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.9897, allocations: 0 / 1.418 GB, free: 0.7031 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000603/0.9904, allocations: 83.89 kB / 1.418 GB, free: 0.6602 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007271/0.9911, allocations: 178.1 kB / 1.418 GB, free: 0.6133 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002284/0.9934, allocations: 1.628 MB / 1.42 GB, free: 15.01 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007162/0.9941, allocations: 108.3 kB / 1.42 GB, free: 14.94 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.156e-05/0.9942, allocations: 40.47 kB / 1.42 GB, free: 14.92 MB / 1.123 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 18 (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,incAng.decAng.tNext,$PRE.incAng.decAng.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (101): * Single equations (assignments): 100 * 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.0004003/0.9946, allocations: 278 kB / 1.42 GB, free: 14.7 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001715/0.9948, allocations: 100.5 kB / 1.421 GB, free: 14.65 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002801/0.9976, allocations: 1.224 MB / 1.422 GB, free: 13.98 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.427e-06/0.9976, allocations: 10.66 kB / 1.422 GB, free: 13.98 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.625e-06/0.9976, allocations: 0 / 1.422 GB, free: 13.98 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.218e-05/0.9976, allocations: 3.984 kB / 1.422 GB, free: 13.97 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00119/0.9988, allocations: 1.025 MB / 1.423 GB, free: 13.2 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.9989, allocations: 0.8438 kB / 1.423 GB, free: 13.2 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007036/0.9996, allocations: 172.1 kB / 1.423 GB, free: 13.1 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004585/1, allocations: 76.72 kB / 1.423 GB, free: 13.02 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.579e-05/1, allocations: 27.97 kB / 1.423 GB, free: 13 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002091/1.002, allocations: 1.658 MB / 1.425 GB, free: 11.19 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.686e-06/1.002, allocations: 5.422 kB / 1.425 GB, free: 11.18 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002347/1.005, allocations: 1.045 MB / 1.426 GB, free: 10.12 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004144/1.005, allocations: 300.1 kB / 1.426 GB, free: 9.809 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001392/1.005, allocations: 31.94 kB / 1.426 GB, free: 9.777 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007019/1.006, allocations: 71.67 kB / 1.426 GB, free: 9.711 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000183/1.006, allocations: 84.88 kB / 1.426 GB, free: 9.625 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.205e-05/1.006, allocations: 32.12 kB / 1.426 GB, free: 9.594 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0006664/1.007, allocations: 0.4951 MB / 1.427 GB, free: 9.102 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.6e-07/1.007, allocations: 3.938 kB / 1.427 GB, free: 9.098 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.0008528/1.008, allocations: 371.1 kB / 1.427 GB, free: 8.734 MB / 1.123 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,incAng.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 6 (incAng.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (107): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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.004554/1.012, allocations: 2.137 MB / 1.429 GB, free: 6.758 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.001891/1.014, allocations: 0.9054 MB / 1.43 GB, free: 5.836 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/1.014, allocations: 0 / 1.43 GB, free: 5.836 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.001126/1.015, allocations: 0.5705 MB / 1.431 GB, free: 5.258 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001255/1.017, allocations: 314.2 kB / 1.431 GB, free: 4.973 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01165/1.028, allocations: 6.849 MB / 1.438 GB, free: 13.98 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007559/1.029, allocations: 1.072 MB / 1.439 GB, free: 12.88 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.0008579/1.03, allocations: 315.5 kB / 1.439 GB, free: 12.56 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006819/1.031, allocations: 439.2 kB / 1.439 GB, free: 12.13 MB / 1.139 GB Notification: Performance of SimCode: time 2.214e-06/1.031, allocations: 0 / 1.439 GB, free: 12.13 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05915/1.09, allocations: 24.09 MB / 1.463 GB, free: 4.414 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.17/14.26, allocations: 14.95 kB / 1.463 GB, free: 4.402 MB / 1.154 GB (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth_res.csv --start-time 0 --stop-time 86400 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_WallSolarAzimuth.fmu > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_WallSolarAzimuth.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "Warning: Resultfile and Reference have different end time points! Reffile[501]=86400.000000 File[27]=1002.240000 " Variables in the reference:time,walSolAzi.verAzi Variables in the result:time,altAng.alt,incAng.y,walSolAzi.verAzi,weaBus.HDifHor,weaBus.HDirNor