Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.IncidenceAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|incAng.incAng",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|incAng.incAng",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001261/0.001261, allocations: 105.1 kB / 16.41 MB, free: 6.41 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.001208/0.001208, allocations: 189.7 kB / 17.35 MB, free: 5.695 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.241/1.241, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.359/2.359, allocations: 461.9 MB / 0.7355 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001162/0.001162, allocations: 71.81 kB / 1.055 GB, free: 7.719 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6079/0.609, allocations: 157.4 MB / 1.208 GB, free: 13.63 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle): time 0.005978/0.6151, allocations: 4.984 MB / 1.213 GB, free: 8.629 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.1363/0.7514, allocations: 150.8 MB / 1.361 GB, free: 1.242 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007399/0.7522, allocations: 15.94 kB / 1.361 GB, free: 1.227 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0007104/0.7529, allocations: 194.1 kB / 1.361 GB, free: 1.035 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.001841/0.7548, allocations: 0.5709 MB / 1.361 GB, free: 476 kB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.001797/0.7566, allocations: 0.8481 MB / 1.362 GB, free: 15.62 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.001504/0.7581, allocations: 1.452 MB / 1.364 GB, free: 14.16 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000837/0.7589, allocations: 0.5987 MB / 1.364 GB, free: 13.55 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006631/0.7596, allocations: 0.51 MB / 1.365 GB, free: 13.04 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006397/0.7603, allocations: 0.5329 MB / 1.365 GB, free: 12.5 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0002174/0.7605, allocations: 124 kB / 1.365 GB, free: 12.38 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008543/0.7614, allocations: 491.6 kB / 1.366 GB, free: 11.9 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.000243/0.7616, allocations: 307 kB / 1.366 GB, free: 11.6 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0004796/0.7621, allocations: 0.5869 MB / 1.367 GB, free: 11.01 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.001608/0.7637, allocations: 1.684 MB / 1.368 GB, free: 9.32 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.7637, allocations: 0 / 1.368 GB, free: 9.32 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.292e-06/0.7637, allocations: 4 kB / 1.368 GB, free: 9.316 MB / 1.092 GB Notification: Performance of Transformations before backend: time 3.66e-05/0.7638, allocations: 0 / 1.368 GB, free: 9.316 MB / 1.092 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.002576/0.7664, allocations: 1.479 MB / 1.37 GB, free: 7.777 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 3.195e-05/0.7664, allocations: 12.03 kB / 1.37 GB, free: 7.766 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008758/0.7673, allocations: 191.3 kB / 1.37 GB, free: 7.578 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009836/0.7683, allocations: 0.7778 MB / 1.371 GB, free: 6.758 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.694e-05/0.7683, allocations: 69.94 kB / 1.371 GB, free: 6.691 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.919e-05/0.7684, allocations: 84 kB / 1.371 GB, free: 6.609 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001453/0.7699, allocations: 0.9652 MB / 1.372 GB, free: 5.602 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.719e-05/0.7699, allocations: 7.938 kB / 1.372 GB, free: 5.594 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.791e-05/0.77, allocations: 40 kB / 1.372 GB, free: 5.555 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.619e-05/0.77, allocations: 20 kB / 1.372 GB, free: 5.535 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001605/0.7716, allocations: 1.155 MB / 1.373 GB, free: 4.383 MB / 1.092 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.003662/0.7753, allocations: 2.856 MB / 1.376 GB, free: 1.41 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001375/0.7767, allocations: 0.8433 MB / 1.377 GB, free: 0.5664 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005021/0.7772, allocations: 322.7 kB / 1.377 GB, free: 252 kB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 7.443e-05/0.7773, allocations: 36.69 kB / 1.377 GB, free: 216 kB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008243/0.7781, allocations: 0.5353 MB / 1.377 GB, free: 15.66 MB / 1.107 GB Notification: Performance of pre-optimization done (n=88): time 2.525e-06/0.7781, allocations: 3.938 kB / 1.377 GB, free: 15.66 MB / 1.107 GB Notification: Performance of matching and sorting (n=88): time 0.003044/0.7812, allocations: 1.29 MB / 1.379 GB, free: 14.34 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.801e-05/0.7813, allocations: 196.9 kB / 1.379 GB, free: 14.1 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007022/0.782, allocations: 0.6605 MB / 1.379 GB, free: 13.43 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 6.956e-05/0.7821, allocations: 49.7 kB / 1.38 GB, free: 13.38 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.000257/0.7823, allocations: 408.4 kB / 1.38 GB, free: 12.97 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001875/0.7825, allocations: 280 kB / 1.38 GB, free: 12.7 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000226/0.7828, allocations: 178.5 kB / 1.38 GB, free: 12.52 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001386/0.7829, allocations: 390.7 kB / 1.381 GB, free: 12.12 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005135/0.7834, allocations: 289.8 kB / 1.381 GB, free: 11.84 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006005/0.784, allocations: 395.1 kB / 1.381 GB, free: 11.44 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001074/0.7851, allocations: 0.6555 MB / 1.382 GB, free: 10.77 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.127e-06/0.7851, allocations: 4 kB / 1.382 GB, free: 10.77 MB / 1.107 GB Notification: Performance of matching and sorting (n=107) (initialization): time 0.001858/0.787, allocations: 0.9229 MB / 1.383 GB, free: 9.836 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.602e-05/0.787, allocations: 7.938 kB / 1.383 GB, free: 9.828 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.042e-06/0.787, allocations: 0 / 1.383 GB, free: 9.828 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005485/0.7876, allocations: 88.83 kB / 1.383 GB, free: 9.738 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006657/0.7883, allocations: 171.8 kB / 1.383 GB, free: 9.57 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001914/0.7902, allocations: 1.626 MB / 1.385 GB, free: 7.797 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000709/0.7909, allocations: 109.2 kB / 1.385 GB, free: 7.691 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.759e-05/0.791, allocations: 39.97 kB / 1.385 GB, free: 7.652 MB / 1.107 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 20 (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,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 (105): * Single equations (assignments): 104 * 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.0003564/0.7914, allocations: 271.9 kB / 1.385 GB, free: 7.379 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001473/0.7915, allocations: 90.91 kB / 1.385 GB, free: 7.289 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002282/0.7938, allocations: 1.167 MB / 1.386 GB, free: 6.105 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.293e-06/0.7938, allocations: 8 kB / 1.386 GB, free: 6.098 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.184e-06/0.7938, allocations: 0 / 1.386 GB, free: 6.098 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.818e-06/0.7938, allocations: 7.984 kB / 1.386 GB, free: 6.09 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008715/0.7947, allocations: 0.9308 MB / 1.387 GB, free: 5.109 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.7947, allocations: 4 kB / 1.387 GB, free: 5.105 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005973/0.7953, allocations: 155.7 kB / 1.387 GB, free: 4.953 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004094/0.7957, allocations: 72.72 kB / 1.388 GB, free: 4.879 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.48e-05/0.7958, allocations: 43.91 kB / 1.388 GB, free: 4.836 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001614/0.7974, allocations: 1.646 MB / 1.389 GB, free: 3.043 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/0.7974, allocations: 3.984 kB / 1.389 GB, free: 3.039 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001822/0.7993, allocations: 0.9981 MB / 1.39 GB, free: 2.02 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002889/0.7996, allocations: 275.7 kB / 1.39 GB, free: 1.73 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001243/0.7997, allocations: 27.94 kB / 1.39 GB, free: 1.703 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006248/0.8003, allocations: 63.92 kB / 1.391 GB, free: 1.641 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001347/0.8005, allocations: 76.89 kB / 1.391 GB, free: 1.562 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.399e-05/0.8005, allocations: 35.98 kB / 1.391 GB, free: 1.527 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.0004927/0.801, allocations: 487 kB / 1.391 GB, free: 1.059 MB / 1.107 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8011, allocations: 0 / 1.391 GB, free: 1.059 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.0007189/0.8018, allocations: 335.2 kB / 1.391 GB, free: 0.7305 MB / 1.107 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.001196/0.803, allocations: 0.6105 MB / 1.392 GB, free: 304 kB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.001542/0.8045, allocations: 0.8937 MB / 1.393 GB, free: 15.39 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 2.594e-06/0.8045, allocations: 0 / 1.393 GB, free: 15.39 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0008814/0.8054, allocations: 0.5511 MB / 1.393 GB, free: 14.83 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001081/0.8065, allocations: 303 kB / 1.394 GB, free: 14.55 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002582/0.8091, allocations: 1.766 MB / 1.395 GB, free: 12.75 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000509/0.8096, allocations: 1.04 MB / 1.396 GB, free: 11.68 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003039/0.81, allocations: 123.4 kB / 1.397 GB, free: 11.56 MB / 1.123 GB Notification: Performance of SimCode: time 1.513e-06/0.81, allocations: 0 / 1.397 GB, free: 11.56 MB / 1.123 GB Notification: Performance of Templates: time 0.02004/0.83, allocations: 19.44 MB / 1.416 GB, free: 8.176 MB / 1.139 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.sim & ./Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches