Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00154/0.00154, allocations: 112.8 kB / 17.08 MB, free: 5.988 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001553/0.001553, allocations: 194.2 kB / 20.03 MB, free: 3.059 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.416/1.416, allocations: 222.9 MB / 245.7 MB, free: 4.203 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.659/2.659, allocations: 437.1 MB / 0.7177 GB, free: 4.492 MB / 0.5606 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.IncidenceAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|incAng.incAng",fileNamePrefix="Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|incAng.incAng",fileNamePrefix="Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001968/0.001969, allocations: 68.06 kB / 1.028 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2853/0.2873, allocations: 151.6 MB / 1.176 GB, free: 5.871 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle): time 0.006814/0.2942, allocations: 4.972 MB / 1.181 GB, free: 0.8633 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.8155/1.11, allocations: 150.8 MB / 1.328 GB, free: 9.848 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008222/1.111, allocations: 19.72 kB / 1.328 GB, free: 9.84 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0006014/1.111, allocations: 191.8 kB / 1.328 GB, free: 9.734 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.001971/1.113, allocations: 0.5727 MB / 1.329 GB, free: 9.48 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.001949/1.115, allocations: 0.8474 MB / 1.33 GB, free: 9.324 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.00184/1.117, allocations: 1.451 MB / 1.331 GB, free: 9.059 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008534/1.118, allocations: 0.5917 MB / 1.332 GB, free: 8.902 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008123/1.119, allocations: 0.4995 MB / 1.332 GB, free: 8.797 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006666/1.119, allocations: 0.5396 MB / 1.333 GB, free: 8.652 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0001815/1.12, allocations: 119.7 kB / 1.333 GB, free: 8.652 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001077/1.121, allocations: 492.2 kB / 1.333 GB, free: 8.551 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0003387/1.121, allocations: 308.8 kB / 1.333 GB, free: 8.355 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0006179/1.122, allocations: 0.5831 MB / 1.334 GB, free: 7.969 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.002442/1.124, allocations: 1.693 MB / 1.336 GB, free: 7.25 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/1.124, allocations: 1.312 kB / 1.336 GB, free: 7.25 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.022e-06/1.124, allocations: 0 / 1.336 GB, free: 7.25 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.978e-05/1.124, allocations: 0 / 1.336 GB, free: 7.25 MB / 1.014 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.003006/1.127, allocations: 1.519 MB / 1.337 GB, free: 6.215 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.682e-05/1.127, allocations: 8.75 kB / 1.337 GB, free: 6.215 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000976/1.128, allocations: 202.1 kB / 1.337 GB, free: 6.145 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001265/1.129, allocations: 0.783 MB / 1.338 GB, free: 5.637 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.684e-05/1.13, allocations: 69.53 kB / 1.338 GB, free: 5.602 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001167/1.13, allocations: 92.3 kB / 1.338 GB, free: 5.57 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001664/1.131, allocations: 0.964 MB / 1.339 GB, free: 5.133 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.415e-05/1.131, allocations: 1.469 kB / 1.339 GB, free: 5.133 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.4e-05/1.131, allocations: 41.84 kB / 1.339 GB, free: 5.102 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.858e-05/1.131, allocations: 20.91 kB / 1.339 GB, free: 5.102 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001909/1.133, allocations: 1.153 MB / 1.34 GB, free: 4.832 MB / 1.014 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.004561/1.138, allocations: 2.864 MB / 1.343 GB, free: 3.105 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001616/1.14, allocations: 0.8486 MB / 1.344 GB, free: 2.785 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005816/1.14, allocations: 326 kB / 1.344 GB, free: 2.66 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 8.526e-05/1.14, allocations: 39.33 kB / 1.344 GB, free: 2.645 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009148/1.141, allocations: 0.5345 MB / 1.345 GB, free: 2.426 MB / 1.014 GB Notification: Performance of pre-optimization done (n=88): time 2.595e-06/1.141, allocations: 0 / 1.345 GB, free: 2.426 MB / 1.014 GB Notification: Performance of matching and sorting (n=88): time 0.003539/1.145, allocations: 1.298 MB / 1.346 GB, free: 1.887 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001155/1.145, allocations: 194.6 kB / 1.346 GB, free: 1.664 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009134/1.146, allocations: 0.6609 MB / 1.347 GB, free: 1.371 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 8.936e-05/1.146, allocations: 43.3 kB / 1.347 GB, free: 1.328 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003558/1.146, allocations: 412.2 kB / 1.347 GB, free: 1.004 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002642/1.147, allocations: 301.9 kB / 1.348 GB, free: 0.7656 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002739/1.147, allocations: 178.6 kB / 1.348 GB, free: 0.6875 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.000197/1.147, allocations: 391.4 kB / 1.348 GB, free: 348 kB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005622/1.148, allocations: 292.9 kB / 1.349 GB, free: 240 kB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006821/1.148, allocations: 389.2 kB / 1.349 GB, free: 72 kB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001262/1.15, allocations: 0.6605 MB / 1.35 GB, free: 15.76 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.398e-06/1.15, allocations: 0.9375 kB / 1.35 GB, free: 15.76 MB / 1.029 GB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002189/1.152, allocations: 0.9189 MB / 1.35 GB, free: 15.39 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.027e-05/1.152, allocations: 5.312 kB / 1.35 GB, free: 15.39 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.315e-05/1.152, allocations: 5.344 kB / 1.35 GB, free: 15.39 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005772/1.152, allocations: 87.58 kB / 1.351 GB, free: 15.37 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007019/1.153, allocations: 177.5 kB / 1.351 GB, free: 15.35 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002306/1.155, allocations: 1.634 MB / 1.352 GB, free: 13.82 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009164/1.156, allocations: 104.1 kB / 1.352 GB, free: 13.77 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.996e-05/1.156, allocations: 39.44 kB / 1.352 GB, free: 13.76 MB / 1.029 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.000545/1.157, allocations: 275.4 kB / 1.353 GB, free: 13.55 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001845/1.157, allocations: 90.09 kB / 1.353 GB, free: 13.5 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002577/1.16, allocations: 1.165 MB / 1.354 GB, free: 13.04 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.419e-05/1.16, allocations: 13.28 kB / 1.354 GB, free: 13.04 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.765e-06/1.16, allocations: 5.25 kB / 1.354 GB, free: 13.04 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.064e-05/1.16, allocations: 4.5 kB / 1.354 GB, free: 13.04 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001237/1.161, allocations: 0.9378 MB / 1.355 GB, free: 12.55 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.881e-06/1.161, allocations: 0 / 1.355 GB, free: 12.55 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006347/1.162, allocations: 168 kB / 1.355 GB, free: 12.52 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004453/1.162, allocations: 74.25 kB / 1.355 GB, free: 12.5 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.425e-05/1.162, allocations: 25.73 kB / 1.355 GB, free: 12.49 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001953/1.164, allocations: 1.662 MB / 1.357 GB, free: 10.93 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/1.164, allocations: 0 / 1.357 GB, free: 10.93 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00219/1.166, allocations: 1.002 MB / 1.358 GB, free: 10.51 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004358/1.167, allocations: 283 kB / 1.358 GB, free: 10.3 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001458/1.167, allocations: 30.52 kB / 1.358 GB, free: 10.28 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00064/1.168, allocations: 64.72 kB / 1.358 GB, free: 10.27 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001655/1.168, allocations: 84.88 kB / 1.358 GB, free: 10.25 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.954e-05/1.168, allocations: 35.02 kB / 1.358 GB, free: 10.25 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0006481/1.169, allocations: 481.1 kB / 1.359 GB, free: 10.04 MB / 1.029 GB Notification: Performance of sort global known variables: time 2.61e-07/1.169, allocations: 0 / 1.359 GB, free: 10.04 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0009966/1.17, allocations: 341 kB / 1.359 GB, free: 9.949 MB / 1.029 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.001865/1.171, allocations: 0.6109 MB / 1.36 GB, free: 9.695 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001899/1.173, allocations: 0.8942 MB / 1.36 GB, free: 9.332 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 4.177e-06/1.173, allocations: 0 / 1.36 GB, free: 9.332 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.001026/1.174, allocations: 0.55 MB / 1.361 GB, free: 9.074 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001376/1.176, allocations: 301.6 kB / 1.361 GB, free: 8.977 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003072/1.179, allocations: 1.788 MB / 1.363 GB, free: 8.047 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000602/1.179, allocations: 1.039 MB / 1.364 GB, free: 7.312 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003504/1.18, allocations: 125.3 kB / 1.364 GB, free: 7.289 MB / 1.029 GB Notification: Performance of SimCode: time 6.71e-07/1.18, allocations: 4 kB / 1.364 GB, free: 7.285 MB / 1.029 GB Notification: Performance of Templates: time 0.02614/1.206, allocations: 19.44 MB / 1.383 GB, free: 13.18 MB / 1.045 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.makefile [Timeout 300] (rm -f Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.sim & ./Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 13.629069361020811]