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 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.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.005019/0.005019, allocations: 96.7 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.00161/0.001611, allocations: 193.2 kB / 16.67 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.387/1.387, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.687/2.687, allocations: 472.6 MB / 0.7453 GB, free: 4.59 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001225/0.001225, allocations: 63.89 kB / 1.069 GB, free: 9.262 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3103/0.3115, allocations: 159.9 MB / 1.226 GB, free: 9.242 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle): time 0.0061/0.3177, allocations: 4.98 MB / 1.23 GB, free: 4.238 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.8805/1.198, allocations: 150.8 MB / 1.378 GB, free: 5.234 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001126/1.199, allocations: 20.41 kB / 1.378 GB, free: 5.227 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0006652/1.2, allocations: 197.3 kB / 1.378 GB, free: 5.098 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.002119/1.202, allocations: 0.5779 MB / 1.379 GB, free: 4.766 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.002226/1.204, allocations: 0.8467 MB / 1.379 GB, free: 4.328 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.002152/1.207, allocations: 1.446 MB / 1.381 GB, free: 3.59 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001014/1.208, allocations: 0.6018 MB / 1.381 GB, free: 3.266 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009438/1.209, allocations: 0.5003 MB / 1.382 GB, free: 3.02 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006952/1.209, allocations: 0.5343 MB / 1.382 GB, free: 2.738 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0002038/1.21, allocations: 119.6 kB / 1.382 GB, free: 2.738 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001143/1.211, allocations: 499.8 kB / 1.383 GB, free: 2.574 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0003191/1.211, allocations: 310.5 kB / 1.383 GB, free: 2.328 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0005992/1.212, allocations: 0.583 MB / 1.384 GB, free: 1.898 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.00232/1.214, allocations: 1.689 MB / 1.385 GB, free: 0.6797 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.67e-06/1.214, allocations: 4 kB / 1.385 GB, free: 0.6758 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.313e-06/1.214, allocations: 3.469 kB / 1.385 GB, free: 0.6758 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.777e-05/1.214, allocations: 0 / 1.385 GB, free: 0.6758 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.00295/1.217, allocations: 1.509 MB / 1.387 GB, free: 15.48 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 5.61e-05/1.217, allocations: 13.3 kB / 1.387 GB, free: 15.48 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009974/1.218, allocations: 194.7 kB / 1.387 GB, free: 15.39 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001317/1.219, allocations: 0.7904 MB / 1.388 GB, free: 14.74 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.77e-05/1.219, allocations: 66.12 kB / 1.388 GB, free: 14.71 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001211/1.22, allocations: 88.05 kB / 1.388 GB, free: 14.68 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001757/1.221, allocations: 0.961 MB / 1.389 GB, free: 14.06 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.511e-05/1.221, allocations: 9.203 kB / 1.389 GB, free: 14.05 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.099e-05/1.221, allocations: 41.09 kB / 1.389 GB, free: 14.02 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.58e-05/1.221, allocations: 21.12 kB / 1.389 GB, free: 14.02 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00201/1.224, allocations: 1.159 MB / 1.39 GB, free: 13.46 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.004624/1.228, allocations: 2.855 MB / 1.393 GB, free: 11.18 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001613/1.23, allocations: 0.8443 MB / 1.394 GB, free: 10.77 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000597/1.23, allocations: 325.3 kB / 1.394 GB, free: 10.6 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 9.121e-05/1.23, allocations: 32.64 kB / 1.394 GB, free: 10.58 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009313/1.231, allocations: 0.5357 MB / 1.395 GB, free: 10.24 MB / 1.092 GB Notification: Performance of pre-optimization done (n=88): time 3.366e-06/1.231, allocations: 3.938 kB / 1.395 GB, free: 10.23 MB / 1.092 GB Notification: Performance of matching and sorting (n=88): time 0.003546/1.235, allocations: 1.291 MB / 1.396 GB, free: 9.543 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001298/1.235, allocations: 193.5 kB / 1.396 GB, free: 9.316 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001047/1.236, allocations: 0.6598 MB / 1.397 GB, free: 8.93 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 8.39e-05/1.236, allocations: 47.17 kB / 1.397 GB, free: 8.883 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003601/1.237, allocations: 413.8 kB / 1.397 GB, free: 8.52 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002514/1.237, allocations: 305.1 kB / 1.397 GB, free: 8.254 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003069/1.237, allocations: 178 kB / 1.398 GB, free: 8.148 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001691/1.237, allocations: 384.8 kB / 1.398 GB, free: 7.781 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006111/1.238, allocations: 292.2 kB / 1.398 GB, free: 7.641 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000712/1.239, allocations: 395.2 kB / 1.399 GB, free: 7.414 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001193/1.24, allocations: 0.6534 MB / 1.399 GB, free: 7.07 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/1.24, allocations: 5.375 kB / 1.399 GB, free: 7.066 MB / 1.092 GB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002201/1.242, allocations: 0.9224 MB / 1.4 GB, free: 6.594 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 2.647e-05/1.242, allocations: 4.938 kB / 1.4 GB, free: 6.594 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.267e-05/1.242, allocations: 12.77 kB / 1.4 GB, free: 6.582 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005744/1.243, allocations: 80.97 kB / 1.4 GB, free: 6.543 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000721/1.244, allocations: 180.2 kB / 1.4 GB, free: 6.5 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002/1.246, allocations: 1.634 MB / 1.402 GB, free: 4.891 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000966/1.247, allocations: 97.92 kB / 1.402 GB, free: 4.828 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.381e-05/1.247, allocations: 40.97 kB / 1.402 GB, free: 4.812 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: 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.0005613/1.247, allocations: 277.1 kB / 1.402 GB, free: 4.598 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001839/1.247, allocations: 88.53 kB / 1.403 GB, free: 4.551 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00258/1.25, allocations: 1.165 MB / 1.404 GB, free: 3.902 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.058e-05/1.25, allocations: 12.53 kB / 1.404 GB, free: 3.898 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/1.25, allocations: 2.656 kB / 1.404 GB, free: 3.898 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.24e-05/1.25, allocations: 7.969 kB / 1.404 GB, free: 3.891 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001191/1.251, allocations: 0.9364 MB / 1.405 GB, free: 3.18 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.458e-06/1.251, allocations: 0 / 1.405 GB, free: 3.18 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005957/1.252, allocations: 163.2 kB / 1.405 GB, free: 3.137 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004187/1.252, allocations: 73.77 kB / 1.405 GB, free: 3.098 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.134e-05/1.252, allocations: 29.2 kB / 1.405 GB, free: 3.078 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0018/1.254, allocations: 1.654 MB / 1.407 GB, free: 1.469 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/1.254, allocations: 0 / 1.407 GB, free: 1.469 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002164/1.256, allocations: 1.003 MB / 1.407 GB, free: 0.9336 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004792/1.257, allocations: 290 kB / 1.408 GB, free: 0.6797 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001357/1.257, allocations: 26.59 kB / 1.408 GB, free: 0.6602 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000666/1.258, allocations: 68.92 kB / 1.408 GB, free: 0.625 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002027/1.258, allocations: 77.33 kB / 1.408 GB, free: 0.5859 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.79e-05/1.258, allocations: 40.34 kB / 1.408 GB, free: 0.5703 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0007867/1.259, allocations: 479.9 kB / 1.408 GB, free: 304 kB / 1.092 GB Notification: Performance of sort global known variables: time 1.8e-07/1.259, allocations: 4 kB / 1.408 GB, free: 300 kB / 1.092 GB Notification: Performance of remove unused functions: time 0.001312/1.26, allocations: 335.2 kB / 1.409 GB, free: 208 kB / 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.001829/1.262, allocations: 0.615 MB / 1.409 GB, free: 15.91 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.002122/1.264, allocations: 0.8957 MB / 1.41 GB, free: 15.45 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 5.44e-06/1.264, allocations: 0 / 1.41 GB, free: 15.45 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.0009915/1.265, allocations: 0.5482 MB / 1.411 GB, free: 15.14 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001289/1.266, allocations: 315 kB / 1.411 GB, free: 14.98 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002968/1.269, allocations: 1.754 MB / 1.413 GB, free: 13.93 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006626/1.27, allocations: 1.046 MB / 1.414 GB, free: 13.05 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.0007795/1.271, allocations: 267.2 kB / 1.414 GB, free: 12.79 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002921/1.271, allocations: 119.3 kB / 1.414 GB, free: 12.67 MB / 1.107 GB Notification: Performance of SimCode: time 7.81e-07/1.271, allocations: 4 kB / 1.414 GB, free: 12.67 MB / 1.107 GB Notification: Performance of Templates: time 0.02541/1.297, allocations: 16.09 MB / 1.43 GB, free: 12.75 MB / 1.123 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/jenkins/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