Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.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: translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|solHouAng.solHouAng",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|solHouAng.solHouAng",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007617/0.007617, allocations: 102.8 kB / 15.73 MB, free: 5.992 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.001765/0.001765, allocations: 193.2 kB / 16.67 MB, free: 5.914 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.399/1.399, allocations: 222.9 MB / 240.4 MB, free: 15.13 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.302/2.302, allocations: 390.2 MB / 0.6648 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001261/0.001261, allocations: 63.89 kB / 0.9508 GB, free: 7.617 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9257/0.927, allocations: 140.4 MB / 1.088 GB, free: 5.48 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.006087/0.9331, allocations: 4.278 MB / 1.092 GB, free: 2.449 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.2024/1.136, allocations: 150.5 MB / 1.239 GB, free: 1.016 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001063/1.137, allocations: 14.72 kB / 1.239 GB, free: 1.012 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0006315/1.137, allocations: 176.5 kB / 1.239 GB, free: 0.8555 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.002105/1.139, allocations: 0.5063 MB / 1.24 GB, free: 492 kB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002291/1.142, allocations: 0.8165 MB / 1.241 GB, free: 15.86 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001444/1.143, allocations: 1.289 MB / 1.242 GB, free: 15.05 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008743/1.144, allocations: 0.6113 MB / 1.242 GB, free: 14.66 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006491/1.145, allocations: 466.8 kB / 1.243 GB, free: 14.38 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005735/1.145, allocations: 489.3 kB / 1.243 GB, free: 14.03 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001512/1.146, allocations: 113.7 kB / 1.243 GB, free: 14.03 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009957/1.147, allocations: 481.6 kB / 1.244 GB, free: 13.85 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002824/1.147, allocations: 292.7 kB / 1.244 GB, free: 13.62 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0004682/1.147, allocations: 0.5326 MB / 1.245 GB, free: 13.13 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001683/1.149, allocations: 1.579 MB / 1.246 GB, free: 11.55 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/1.149, allocations: 0 / 1.246 GB, free: 11.55 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.563e-06/1.149, allocations: 0 / 1.246 GB, free: 11.55 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.286e-05/1.149, allocations: 4 kB / 1.246 GB, free: 11.55 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: 208 * Number of variables: 208 Notification: Performance of Generate backend data structure: time 0.002543/1.152, allocations: 1.399 MB / 1.248 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.465e-05/1.152, allocations: 8.031 kB / 1.248 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009758/1.153, allocations: 187.4 kB / 1.248 GB, free: 9.902 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001279/1.154, allocations: 0.7578 MB / 1.249 GB, free: 9.105 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.909e-05/1.154, allocations: 61.98 kB / 1.249 GB, free: 9.043 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001088/1.154, allocations: 80 kB / 1.249 GB, free: 8.965 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001517/1.156, allocations: 0.8989 MB / 1.25 GB, free: 8.027 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.206e-05/1.156, allocations: 3.938 kB / 1.25 GB, free: 8.023 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.236e-05/1.156, allocations: 40 kB / 1.25 GB, free: 7.984 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.941e-05/1.156, allocations: 20 kB / 1.25 GB, free: 7.965 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001894/1.158, allocations: 1.096 MB / 1.251 GB, free: 6.863 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004031/1.162, allocations: 2.433 MB / 1.253 GB, free: 4.367 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001594/1.163, allocations: 0.8689 MB / 1.254 GB, free: 3.477 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005408/1.164, allocations: 298.7 kB / 1.254 GB, free: 3.184 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 7.593e-05/1.164, allocations: 32.61 kB / 1.254 GB, free: 3.152 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008214/1.165, allocations: 483.1 kB / 1.255 GB, free: 2.66 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=79): time 2.425e-06/1.165, allocations: 0 / 1.255 GB, free: 2.66 MB / 0.9825 GB Notification: Performance of matching and sorting (n=79): time 0.003245/1.168, allocations: 1.178 MB / 1.256 GB, free: 1.453 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001354/1.168, allocations: 188.6 kB / 1.256 GB, free: 1.227 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008302/1.169, allocations: 0.6254 MB / 1.257 GB, free: 0.5938 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 7.423e-05/1.169, allocations: 41.7 kB / 1.257 GB, free: 0.5469 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004392/1.17, allocations: 392.3 kB / 1.257 GB, free: 160 kB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002581/1.17, allocations: 256.3 kB / 1.257 GB, free: 15.9 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002545/1.17, allocations: 162.5 kB / 1.257 GB, free: 15.73 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001766/1.17, allocations: 386.7 kB / 1.258 GB, free: 15.35 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005311/1.171, allocations: 265.9 kB / 1.258 GB, free: 15.09 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000663/1.172, allocations: 363 kB / 1.258 GB, free: 14.72 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001181/1.173, allocations: 0.5878 MB / 1.259 GB, free: 14.12 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.496e-06/1.173, allocations: 0 / 1.259 GB, free: 14.12 MB / 0.9981 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.002024/1.175, allocations: 0.8409 MB / 1.26 GB, free: 13.27 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.04e-05/1.175, allocations: 4 kB / 1.26 GB, free: 13.27 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.676e-06/1.175, allocations: 0 / 1.26 GB, free: 13.27 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006118/1.175, allocations: 80.86 kB / 1.26 GB, free: 13.18 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006952/1.176, allocations: 163.7 kB / 1.26 GB, free: 13.02 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00219/1.178, allocations: 1.627 MB / 1.262 GB, free: 11.25 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007721/1.179, allocations: 87.31 kB / 1.262 GB, free: 11.16 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.376e-05/1.179, allocations: 39.97 kB / 1.262 GB, free: 11.12 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: 17 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,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 (93): * Single equations (assignments): 92 * 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.0004822/1.18, allocations: 263.4 kB / 1.262 GB, free: 10.85 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000182/1.18, allocations: 79.06 kB / 1.262 GB, free: 10.77 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002593/1.182, allocations: 1.054 MB / 1.263 GB, free: 9.703 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.05e-05/1.183, allocations: 8 kB / 1.263 GB, free: 9.695 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/1.183, allocations: 0 / 1.263 GB, free: 9.695 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.83e-05/1.183, allocations: 11.86 kB / 1.263 GB, free: 9.684 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00325/1.186, allocations: 1.908 MB / 1.265 GB, free: 7.715 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/1.186, allocations: 0 / 1.265 GB, free: 7.715 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005565/1.186, allocations: 143.8 kB / 1.265 GB, free: 7.574 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004509/1.187, allocations: 76.72 kB / 1.265 GB, free: 7.496 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.447e-05/1.187, allocations: 27.97 kB / 1.265 GB, free: 7.469 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001954/1.189, allocations: 1.65 MB / 1.267 GB, free: 5.672 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/1.189, allocations: 0 / 1.267 GB, free: 5.672 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002/1.191, allocations: 0.9863 MB / 1.268 GB, free: 4.664 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000417/1.191, allocations: 271.7 kB / 1.268 GB, free: 4.379 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001463/1.191, allocations: 16 kB / 1.268 GB, free: 4.363 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006261/1.192, allocations: 66.75 kB / 1.268 GB, free: 4.301 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001576/1.192, allocations: 72.89 kB / 1.268 GB, free: 4.23 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.87e-05/1.192, allocations: 28.05 kB / 1.268 GB, free: 4.203 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0005759/1.193, allocations: 455 kB / 1.269 GB, free: 3.766 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.6e-07/1.193, allocations: 0 / 1.269 GB, free: 3.766 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0008533/1.194, allocations: 299.4 kB / 1.269 GB, free: 3.473 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.00132/1.195, allocations: 0.6172 MB / 1.27 GB, free: 3.027 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001639/1.197, allocations: 0.8235 MB / 1.27 GB, free: 2.191 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/1.197, allocations: 0 / 1.27 GB, free: 2.191 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0009129/1.198, allocations: 0.5042 MB / 1.271 GB, free: 1.68 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001208/1.199, allocations: 292.3 kB / 1.271 GB, free: 1.41 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003839/1.203, allocations: 1.722 MB / 1.273 GB, free: 15.66 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006293/1.203, allocations: 1.012 MB / 1.274 GB, free: 14.63 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0007703/1.204, allocations: 258.5 kB / 1.274 GB, free: 14.37 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002347/1.204, allocations: 99.39 kB / 1.274 GB, free: 14.27 MB / 1.014 GB Notification: Performance of SimCode: time 7.02e-07/1.204, allocations: 4 kB / 1.274 GB, free: 14.27 MB / 1.014 GB Notification: Performance of Templates: time 0.02389/1.228, allocations: 14.69 MB / 1.288 GB, free: 15.73 MB / 1.029 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.sim & ./Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches