Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.SolarGeometry.BaseClasses.Examples.IncidenceAngle,fileNamePrefix="Buildings_11_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle,fileNamePrefix="Buildings_11_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle",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.007784/0.007784, allocations: 95.42 kB / 15.73 MB, free: 6.039 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.002001/0.002001, allocations: 204.8 kB / 16.68 MB, free: 5.969 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.6/1.6, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.874/2.874, allocations: 469.8 MB / 0.7425 GB, free: 7.312 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001874/0.001874, allocations: 63.91 kB / 1.065 GB, free: 13.59 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3149/0.3168, allocations: 159.1 MB / 1.22 GB, free: 14.33 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle): time 0.0087/0.3255, allocations: 4.976 MB / 1.225 GB, free: 9.336 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.8175/1.143, allocations: 150.8 MB / 1.372 GB, free: 10.86 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009032/1.144, allocations: 15.22 kB / 1.372 GB, free: 10.86 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0008243/1.145, allocations: 196.2 kB / 1.372 GB, free: 10.73 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.002354/1.147, allocations: 0.5735 MB / 1.373 GB, free: 10.39 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.002166/1.149, allocations: 0.8475 MB / 1.374 GB, free: 9.961 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.002041/1.152, allocations: 1.451 MB / 1.375 GB, free: 9.219 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001076/1.153, allocations: 0.5923 MB / 1.376 GB, free: 8.898 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009472/1.154, allocations: 0.4993 MB / 1.376 GB, free: 8.652 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009763/1.155, allocations: 0.5406 MB / 1.377 GB, free: 8.367 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0003056/1.155, allocations: 120.3 kB / 1.377 GB, free: 8.367 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001184/1.156, allocations: 493 kB / 1.377 GB, free: 8.246 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0003894/1.156, allocations: 314.6 kB / 1.378 GB, free: 8.051 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0008088/1.157, allocations: 0.5803 MB / 1.378 GB, free: 7.664 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.002508/1.16, allocations: 1.695 MB / 1.38 GB, free: 6.73 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/1.16, allocations: 0 / 1.38 GB, free: 6.73 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.753e-06/1.16, allocations: 0 / 1.38 GB, free: 6.73 MB / 1.076 GB Notification: Performance of Transformations before backend: time 5.31e-05/1.16, allocations: 1.062 kB / 1.38 GB, free: 6.73 MB / 1.076 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 223 * Number of variables: 223 Notification: Performance of Generate backend data structure: time 0.003445/1.163, allocations: 1.525 MB / 1.381 GB, free: 5.523 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.044e-05/1.163, allocations: 10.03 kB / 1.381 GB, free: 5.523 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001718/1.164, allocations: 138.8 kB / 1.382 GB, free: 5.41 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009706/1.165, allocations: 199.1 kB / 1.382 GB, free: 5.312 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001248/1.166, allocations: 0.7948 MB / 1.383 GB, free: 4.66 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.731e-05/1.166, allocations: 65.02 kB / 1.383 GB, free: 4.629 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001138/1.166, allocations: 84.44 kB / 1.383 GB, free: 4.602 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00171/1.168, allocations: 0.9682 MB / 1.384 GB, free: 3.98 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.391e-05/1.168, allocations: 0 / 1.384 GB, free: 3.98 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.291e-05/1.168, allocations: 43.97 kB / 1.384 GB, free: 3.949 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.092e-05/1.168, allocations: 21.75 kB / 1.384 GB, free: 3.949 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001903/1.17, allocations: 1.155 MB / 1.385 GB, free: 3.395 MB / 1.076 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004491/1.174, allocations: 2.862 MB / 1.388 GB, free: 1.109 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001647/1.176, allocations: 0.8512 MB / 1.388 GB, free: 0.6836 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005987/1.177, allocations: 327.3 kB / 1.389 GB, free: 0.5156 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 8.313e-05/1.177, allocations: 32.14 kB / 1.389 GB, free: 0.5 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009573/1.178, allocations: 0.5404 MB / 1.389 GB, free: 156 kB / 1.076 GB Notification: Performance of pre-optimization done (n=88): time 2.915e-06/1.178, allocations: 4 kB / 1.389 GB, free: 152 kB / 1.076 GB Notification: Performance of matching and sorting (n=88): time 0.003536/1.181, allocations: 1.29 MB / 1.391 GB, free: 15.46 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001208/1.181, allocations: 194.9 kB / 1.391 GB, free: 15.23 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009195/1.182, allocations: 0.649 MB / 1.391 GB, free: 14.86 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 8.939e-05/1.182, allocations: 47.17 kB / 1.391 GB, free: 14.81 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003798/1.183, allocations: 414 kB / 1.392 GB, free: 14.45 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002703/1.183, allocations: 301.5 kB / 1.392 GB, free: 14.19 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002672/1.183, allocations: 165.6 kB / 1.392 GB, free: 14.09 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0002077/1.184, allocations: 385.9 kB / 1.393 GB, free: 13.72 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005746/1.184, allocations: 279 kB / 1.393 GB, free: 13.58 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006809/1.185, allocations: 381.3 kB / 1.393 GB, free: 13.34 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001225/1.186, allocations: 0.6364 MB / 1.394 GB, free: 13 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/1.186, allocations: 0 / 1.394 GB, free: 13 MB / 1.092 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002254/1.188, allocations: 0.8785 MB / 1.395 GB, free: 12.55 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 2.44e-05/1.188, allocations: 9.406 kB / 1.395 GB, free: 12.55 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.426e-06/1.188, allocations: 1.031 kB / 1.395 GB, free: 12.55 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006083/1.189, allocations: 76.44 kB / 1.395 GB, free: 12.51 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007042/1.19, allocations: 173.1 kB / 1.395 GB, free: 12.46 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00225/1.192, allocations: 1.629 MB / 1.397 GB, free: 10.86 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008752/1.193, allocations: 108.4 kB / 1.397 GB, free: 10.79 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.016e-05/1.193, allocations: 32.61 kB / 1.397 GB, free: 10.78 MB / 1.092 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,decAng.tNext,$PRE.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 (97): * Single equations (assignments): 96 * 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.0005101/1.193, allocations: 269.7 kB / 1.397 GB, free: 10.57 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002038/1.194, allocations: 89.97 kB / 1.397 GB, free: 10.52 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002731/1.196, allocations: 1.165 MB / 1.398 GB, free: 9.871 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.057e-06/1.196, allocations: 9.625 kB / 1.398 GB, free: 9.871 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/1.196, allocations: 0 / 1.398 GB, free: 9.871 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.376e-05/1.196, allocations: 5.359 kB / 1.398 GB, free: 9.867 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001289/1.198, allocations: 0.9425 MB / 1.399 GB, free: 9.152 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.626e-06/1.198, allocations: 9.203 kB / 1.399 GB, free: 9.145 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006438/1.198, allocations: 159.6 kB / 1.399 GB, free: 9.105 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004857/1.199, allocations: 73.55 kB / 1.399 GB, free: 9.066 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.313e-05/1.199, allocations: 32.88 kB / 1.399 GB, free: 9.043 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00203/1.201, allocations: 1.65 MB / 1.401 GB, free: 7.438 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.572e-06/1.201, allocations: 0 / 1.401 GB, free: 7.438 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002293/1.203, allocations: 1.002 MB / 1.402 GB, free: 6.902 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004455/1.204, allocations: 292.3 kB / 1.402 GB, free: 6.648 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000137/1.204, allocations: 17.41 kB / 1.402 GB, free: 6.637 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000674/1.205, allocations: 78.08 kB / 1.402 GB, free: 6.594 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001691/1.205, allocations: 77.2 kB / 1.402 GB, free: 6.555 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.38e-05/1.205, allocations: 35.78 kB / 1.403 GB, free: 6.543 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0006305/1.206, allocations: 481.3 kB / 1.403 GB, free: 6.27 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.6e-07/1.206, allocations: 0 / 1.403 GB, free: 6.27 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.000887/1.206, allocations: 337.2 kB / 1.403 GB, free: 6.172 MB / 1.092 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,decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 6 (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 (100): * Single equations (assignments): 93 * 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.004273/1.211, allocations: 2.064 MB / 1.405 GB, free: 4.906 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.001896/1.213, allocations: 0.8645 MB / 1.406 GB, free: 4.461 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 6.252e-06/1.213, allocations: 0 / 1.406 GB, free: 4.461 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0009815/1.214, allocations: 0.5483 MB / 1.407 GB, free: 4.152 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00144/1.215, allocations: 305.8 kB / 1.407 GB, free: 3.996 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01105/1.226, allocations: 6.543 MB / 1.413 GB, free: 14.9 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007277/1.227, allocations: 1.044 MB / 1.414 GB, free: 13.83 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.000969/1.228, allocations: 267.2 kB / 1.415 GB, free: 13.56 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006316/1.229, allocations: 415.2 kB / 1.415 GB, free: 13.16 MB / 1.107 GB Notification: Performance of SimCode: time 6.61e-07/1.229, allocations: 4 kB / 1.415 GB, free: 13.15 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07305/1.302, allocations: 22.73 MB / 1.437 GB, free: 6.773 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate platform static: time 28.34/29.64, allocations: 9.328 kB / 1.437 GB, free: 6.766 MB / 1.123 GB (rm -f Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle_res.csv --start-time 0 --stop-time 86400 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 Buildings_11_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle.fmu > Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.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,incAng.incAng Variables in the result:time,decAng.calTimAux,decAng.decAng,decAng.modTimAux,incAng.incAng,solHouAng.solHouAng