Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.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: translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|decAng.decAng|solDecNOAA.y",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination") translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|decAng.decAng|solDecNOAA.y",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001147/0.001147, allocations: 114.8 kB / 16.42 MB, free: 6.477 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.001119/0.001119, allocations: 190.7 kB / 17.35 MB, free: 5.711 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.31/1.31, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.603/2.603, allocations: 472.7 MB / 0.746 GB, free: 412 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001392/0.001392, allocations: 63.89 kB / 1.07 GB, free: 9.578 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7321/0.7335, allocations: 159.9 MB / 1.226 GB, free: 13.53 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.00275/0.7363, allocations: 1.599 MB / 1.228 GB, free: 11.93 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.001115/0.7375, allocations: 0.6516 MB / 1.229 GB, free: 11.27 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.421e-05/0.7376, allocations: 0 / 1.229 GB, free: 11.27 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0001508/0.7377, allocations: 79.81 kB / 1.229 GB, free: 11.19 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0002987/0.738, allocations: 103.6 kB / 1.229 GB, free: 11.09 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003587/0.7384, allocations: 95.27 kB / 1.229 GB, free: 11 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0002002/0.7386, allocations: 139.6 kB / 1.229 GB, free: 10.86 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 8.141e-05/0.7387, allocations: 12 kB / 1.229 GB, free: 10.85 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001815/0.7389, allocations: 75.8 kB / 1.229 GB, free: 10.78 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001752/0.7391, allocations: 107.7 kB / 1.229 GB, free: 10.67 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 2.405e-05/0.7391, allocations: 8 kB / 1.229 GB, free: 10.66 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001357/0.7393, allocations: 75.94 kB / 1.229 GB, free: 10.59 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 6.006e-05/0.7393, allocations: 27.91 kB / 1.229 GB, free: 10.56 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 7.826e-05/0.7394, allocations: 67.53 kB / 1.229 GB, free: 10.5 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0002405/0.7397, allocations: 167.9 kB / 1.229 GB, free: 10.34 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.7397, allocations: 0 / 1.229 GB, free: 10.34 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.042e-06/0.7397, allocations: 0 / 1.229 GB, free: 10.34 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 5.621e-06/0.7397, allocations: 0 / 1.229 GB, free: 10.34 MB / 0.9512 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0006836/0.7404, allocations: 488.2 kB / 1.23 GB, free: 9.805 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.601e-05/0.7404, allocations: 8.031 kB / 1.23 GB, free: 9.797 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.172e-05/0.7405, allocations: 16.84 kB / 1.23 GB, free: 9.781 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002454/0.7407, allocations: 212.1 kB / 1.23 GB, free: 9.535 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.07e-05/0.7408, allocations: 8.375 kB / 1.23 GB, free: 9.527 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.951e-05/0.7408, allocations: 4.375 kB / 1.23 GB, free: 9.523 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002067/0.741, allocations: 131.6 kB / 1.23 GB, free: 9.383 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.867e-06/0.741, allocations: 0 / 1.23 GB, free: 9.383 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.468e-05/0.741, allocations: 3.984 kB / 1.23 GB, free: 9.379 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.662e-06/0.741, allocations: 4 kB / 1.23 GB, free: 9.375 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001315/0.7412, allocations: 67.97 kB / 1.23 GB, free: 9.309 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004294/0.7416, allocations: 416.8 kB / 1.231 GB, free: 8.848 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001655/0.7418, allocations: 121.1 kB / 1.231 GB, free: 8.711 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001074/0.7419, allocations: 81.78 kB / 1.231 GB, free: 8.625 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.806e-05/0.7419, allocations: 0 / 1.231 GB, free: 8.625 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002248/0.7422, allocations: 174.8 kB / 1.231 GB, free: 8.43 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=13): time 1.413e-06/0.7422, allocations: 4 kB / 1.231 GB, free: 8.426 MB / 0.9512 GB Notification: Performance of matching and sorting (n=13): time 0.0005075/0.7427, allocations: 335.3 kB / 1.231 GB, free: 8.086 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.975e-05/0.7428, allocations: 110.8 kB / 1.232 GB, free: 7.953 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001871/0.743, allocations: 214.6 kB / 1.232 GB, free: 7.727 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.091e-05/0.743, allocations: 25.7 kB / 1.232 GB, free: 7.695 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 5.922e-05/0.743, allocations: 120.3 kB / 1.232 GB, free: 7.574 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 3.898e-05/0.7431, allocations: 35.72 kB / 1.232 GB, free: 7.539 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.516e-05/0.7432, allocations: 29.67 kB / 1.232 GB, free: 7.504 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 9.92e-05/0.7433, allocations: 334.8 kB / 1.232 GB, free: 7.168 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.307e-05/0.7434, allocations: 63.92 kB / 1.232 GB, free: 7.105 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.958e-05/0.7435, allocations: 73.69 kB / 1.232 GB, free: 7.027 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001947/0.7437, allocations: 201.4 kB / 1.233 GB, free: 6.812 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.7437, allocations: 4 kB / 1.233 GB, free: 6.809 MB / 0.9512 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003246/0.744, allocations: 267.2 kB / 1.233 GB, free: 6.535 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 3.314e-05/0.744, allocations: 35.58 kB / 1.233 GB, free: 6.496 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.744, allocations: 3.984 kB / 1.233 GB, free: 6.492 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.72e-05/0.7441, allocations: 3.984 kB / 1.233 GB, free: 6.488 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001039/0.7442, allocations: 19.88 kB / 1.233 GB, free: 6.469 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.109e-06/0.7442, allocations: 0 / 1.233 GB, free: 6.469 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001068/0.7443, allocations: 15.98 kB / 1.233 GB, free: 6.453 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.668e-05/0.7443, allocations: 4 kB / 1.233 GB, free: 6.449 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 10 (decAng.tNext,$PRE.decAng.tNext,$whenCondition2,solDecNOAA.nextEventScaled,solDecNOAA.nextEvent,$PRE.solDecNOAA.nextEvent,solDecNOAA.last,solDecNOAA.b,solDecNOAA.a,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000138/0.7445, allocations: 186.4 kB / 1.233 GB, free: 6.254 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.143e-05/0.7445, allocations: 23.86 kB / 1.233 GB, free: 6.23 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002012/0.7447, allocations: 95.02 kB / 1.233 GB, free: 6.129 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/0.7447, allocations: 3.984 kB / 1.233 GB, free: 6.125 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.7447, allocations: 0 / 1.233 GB, free: 6.125 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 7.861e-05/0.7448, allocations: 101 kB / 1.233 GB, free: 6.008 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.583e-05/0.7449, allocations: 8 kB / 1.233 GB, free: 6 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.915e-05/0.745, allocations: 15.92 kB / 1.233 GB, free: 5.984 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.12e-05/0.745, allocations: 15.98 kB / 1.233 GB, free: 5.969 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004596/0.7455, allocations: 0.4894 MB / 1.234 GB, free: 5.453 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000438/0.7459, allocations: 0.527 MB / 1.234 GB, free: 4.902 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001295/0.7461, allocations: 103.9 kB / 1.234 GB, free: 4.801 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.000122/0.7462, allocations: 172.2 kB / 1.235 GB, free: 4.633 MB / 0.9512 GB Notification: Performance of Backend: time 4e-07/0.7462, allocations: 0 / 1.235 GB, free: 4.633 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.000664/0.7469, allocations: 269.8 kB / 1.235 GB, free: 4.352 MB / 0.9512 GB Notification: Performance of SimCode: time 0.0006318/0.7475, allocations: 0.7929 MB / 1.236 GB, free: 3.5 MB / 0.9512 GB Notification: Performance of Templates: time 0.004608/0.7522, allocations: 1.755 MB / 1.237 GB, free: 1.758 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.sim & ./Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches