Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.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.SolarGeometry.Examples.ZenithAngle,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle",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.005855/0.005855, allocations: 102 kB / 15.73 MB, free: 6.035 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.001508/0.001508, allocations: 196.4 kB / 16.68 MB, free: 5.953 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.368/1.368, allocations: 222.9 MB / 240.4 MB, free: 15.14 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.314/2.314, allocations: 390.3 MB / 0.6648 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001515/0.001515, allocations: 63.89 kB / 0.9504 GB, free: 8.195 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9441/0.9456, allocations: 140.4 MB / 1.087 GB, free: 5.277 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.005627/0.9513, allocations: 4.311 MB / 1.092 GB, free: 2.223 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.1815/1.133, allocations: 150.6 MB / 1.239 GB, free: 0.8555 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001224/1.134, allocations: 15.44 kB / 1.239 GB, free: 0.8516 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0008853/1.135, allocations: 177.2 kB / 1.239 GB, free: 0.6953 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.002339/1.137, allocations: 0.5043 MB / 1.239 GB, free: 332 kB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002527/1.14, allocations: 0.8346 MB / 1.24 GB, free: 15.69 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001969/1.142, allocations: 1.3 MB / 1.241 GB, free: 14.88 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001161/1.143, allocations: 0.6279 MB / 1.242 GB, free: 14.48 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008974/1.144, allocations: 472.2 kB / 1.242 GB, free: 14.2 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008172/1.145, allocations: 497.5 kB / 1.243 GB, free: 13.84 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0003202/1.145, allocations: 120.9 kB / 1.243 GB, free: 13.84 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001753/1.147, allocations: 489.6 kB / 1.244 GB, free: 13.65 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0004912/1.147, allocations: 296.8 kB / 1.244 GB, free: 13.42 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.001052/1.148, allocations: 0.5472 MB / 1.244 GB, free: 13 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.002862/1.151, allocations: 1.62 MB / 1.246 GB, free: 11.47 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 7.834e-06/1.151, allocations: 4 kB / 1.246 GB, free: 11.46 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.482e-06/1.151, allocations: 0 / 1.246 GB, free: 11.46 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.997e-05/1.151, allocations: 0 / 1.246 GB, free: 11.46 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: 211 * Number of variables: 211 Notification: Performance of Generate backend data structure: time 0.003429/1.155, allocations: 1.414 MB / 1.247 GB, free: 9.996 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.577e-05/1.155, allocations: 12.03 kB / 1.247 GB, free: 9.984 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002187/1.155, allocations: 139.3 kB / 1.247 GB, free: 9.84 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001015/1.156, allocations: 183.4 kB / 1.248 GB, free: 9.66 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001458/1.158, allocations: 0.7537 MB / 1.248 GB, free: 8.867 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.719e-05/1.158, allocations: 66 kB / 1.248 GB, free: 8.801 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001568/1.158, allocations: 83.98 kB / 1.249 GB, free: 8.719 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0017/1.16, allocations: 0.9261 MB / 1.249 GB, free: 7.754 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.108e-05/1.16, allocations: 0 / 1.249 GB, free: 7.754 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.546e-05/1.16, allocations: 32 kB / 1.249 GB, free: 7.723 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.865e-05/1.16, allocations: 20 kB / 1.249 GB, free: 7.703 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001772/1.162, allocations: 1.112 MB / 1.251 GB, free: 6.586 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004032/1.166, allocations: 2.496 MB / 1.253 GB, free: 4.023 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001523/1.167, allocations: 0.8848 MB / 1.254 GB, free: 3.117 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005079/1.168, allocations: 306.7 kB / 1.254 GB, free: 2.816 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 7.784e-05/1.168, allocations: 24.62 kB / 1.254 GB, free: 2.793 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008002/1.169, allocations: 0.4913 MB / 1.255 GB, free: 2.281 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=79): time 2.485e-06/1.169, allocations: 0 / 1.255 GB, free: 2.281 MB / 0.9825 GB Notification: Performance of matching and sorting (n=79): time 0.003024/1.172, allocations: 1.194 MB / 1.256 GB, free: 1.059 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.381e-05/1.172, allocations: 192.5 kB / 1.256 GB, free: 0.8281 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007502/1.172, allocations: 0.6215 MB / 1.257 GB, free: 204 kB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 6.056e-05/1.173, allocations: 49.64 kB / 1.257 GB, free: 148 kB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002893/1.173, allocations: 396.3 kB / 1.257 GB, free: 15.75 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001778/1.173, allocations: 248.4 kB / 1.257 GB, free: 15.5 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002142/1.173, allocations: 142.5 kB / 1.257 GB, free: 15.36 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001508/1.173, allocations: 390.7 kB / 1.258 GB, free: 14.97 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004757/1.174, allocations: 245.9 kB / 1.258 GB, free: 14.73 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005792/1.174, allocations: 358.6 kB / 1.258 GB, free: 14.35 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001052/1.176, allocations: 0.5799 MB / 1.259 GB, free: 13.75 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/1.176, allocations: 4 kB / 1.259 GB, free: 13.75 MB / 0.9981 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001853/1.177, allocations: 0.8019 MB / 1.26 GB, free: 12.94 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.86e-05/1.177, allocations: 4 kB / 1.26 GB, free: 12.94 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.849e-06/1.177, allocations: 4 kB / 1.26 GB, free: 12.93 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006002/1.178, allocations: 80.81 kB / 1.26 GB, free: 12.85 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006049/1.179, allocations: 155.8 kB / 1.26 GB, free: 12.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002008/1.181, allocations: 1.65 MB / 1.262 GB, free: 10.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006078/1.181, allocations: 83.33 kB / 1.262 GB, free: 10.82 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.842e-05/1.181, allocations: 35.91 kB / 1.262 GB, free: 10.79 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (85): * Single equations (assignments): 84 * 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.0003583/1.182, allocations: 269.6 kB / 1.262 GB, free: 10.51 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001582/1.182, allocations: 82.97 kB / 1.262 GB, free: 10.43 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002316/1.184, allocations: 1.062 MB / 1.263 GB, free: 9.352 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.928e-06/1.184, allocations: 11.98 kB / 1.263 GB, free: 9.34 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/1.184, allocations: 7.984 kB / 1.263 GB, free: 9.332 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.508e-06/1.184, allocations: 3.984 kB / 1.263 GB, free: 9.328 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003146/1.187, allocations: 1.947 MB / 1.265 GB, free: 7.32 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.138e-06/1.187, allocations: 0 / 1.265 GB, free: 7.32 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005568/1.188, allocations: 143.8 kB / 1.265 GB, free: 7.18 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004371/1.188, allocations: 72.78 kB / 1.265 GB, free: 7.105 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.361e-05/1.189, allocations: 23.98 kB / 1.265 GB, free: 7.082 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001836/1.19, allocations: 1.677 MB / 1.267 GB, free: 5.258 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/1.19, allocations: 0 / 1.267 GB, free: 5.258 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002016/1.192, allocations: 0.9941 MB / 1.268 GB, free: 4.246 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003652/1.193, allocations: 271.8 kB / 1.268 GB, free: 3.961 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001345/1.193, allocations: 27.84 kB / 1.268 GB, free: 3.934 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006413/1.194, allocations: 67.92 kB / 1.268 GB, free: 3.867 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000145/1.194, allocations: 64.91 kB / 1.268 GB, free: 3.801 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.678e-05/1.194, allocations: 39.97 kB / 1.268 GB, free: 3.762 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.000568/1.194, allocations: 451 kB / 1.269 GB, free: 3.328 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.6e-07/1.194, allocations: 0 / 1.269 GB, free: 3.328 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0008429/1.195, allocations: 299.3 kB / 1.269 GB, free: 3.035 MB / 0.9981 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 (90): * Single equations (assignments): 84 * 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.003575/1.199, allocations: 2.051 MB / 1.271 GB, free: 1.141 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001629/1.201, allocations: 0.8002 MB / 1.272 GB, free: 332 kB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/1.201, allocations: 0 / 1.272 GB, free: 332 kB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0009203/1.201, allocations: 0.512 MB / 1.272 GB, free: 15.8 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001163/1.203, allocations: 293.1 kB / 1.273 GB, free: 15.53 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01161/1.214, allocations: 6.286 MB / 1.279 GB, free: 9.137 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006954/1.215, allocations: 1.016 MB / 1.28 GB, free: 8.094 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.00088/1.216, allocations: 258.5 kB / 1.28 GB, free: 7.836 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005816/1.217, allocations: 371.3 kB / 1.28 GB, free: 7.473 MB / 1.014 GB Notification: Performance of SimCode: time 6.82e-07/1.217, allocations: 0 / 1.28 GB, free: 7.473 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05606/1.273, allocations: 21.12 MB / 1.301 GB, free: 2.645 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.74/14.01, allocations: 12.31 kB / 1.301 GB, free: 2.637 MB / 1.029 GB (rm -f Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle_res.mat --tempDir=temp_Buildings_9_Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle_fmu --startTime=100000 --stopTime=300000 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle.fmu > Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches