Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.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.Examples.ZenithAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|zen.y",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|zen.y",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007594/0.007594, allocations: 94.86 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.001807/0.001807, allocations: 199.2 kB / 16.68 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.393/1.393, allocations: 222.9 MB / 240.4 MB, free: 4.176 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.77/2.77, allocations: 472.6 MB / 0.7453 GB, free: 4.605 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001195/0.001195, allocations: 55.91 kB / 1.069 GB, free: 9.32 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3051/0.3063, allocations: 159.9 MB / 1.226 GB, free: 9.305 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.006351/0.3127, allocations: 4.822 MB / 1.23 GB, free: 4.461 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.85/1.163, allocations: 150.6 MB / 1.377 GB, free: 5.816 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008688/1.164, allocations: 15.59 kB / 1.377 GB, free: 5.812 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0007883/1.165, allocations: 194.7 kB / 1.378 GB, free: 5.684 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.002146/1.167, allocations: 0.5413 MB / 1.378 GB, free: 5.375 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.002353/1.169, allocations: 0.8304 MB / 1.379 GB, free: 4.945 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.002075/1.171, allocations: 1.386 MB / 1.38 GB, free: 4.227 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001091/1.172, allocations: 0.5865 MB / 1.381 GB, free: 3.914 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000988/1.173, allocations: 492 kB / 1.381 GB, free: 3.668 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001042/1.174, allocations: 0.497 MB / 1.382 GB, free: 3.406 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0004715/1.175, allocations: 117.6 kB / 1.382 GB, free: 3.406 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001327/1.176, allocations: 486.5 kB / 1.382 GB, free: 3.289 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0004332/1.177, allocations: 299.8 kB / 1.383 GB, free: 3.07 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0009731/1.178, allocations: 0.5555 MB / 1.383 GB, free: 2.66 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.002686/1.18, allocations: 1.649 MB / 1.385 GB, free: 1.469 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/1.18, allocations: 4 kB / 1.385 GB, free: 1.465 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.503e-06/1.18, allocations: 3.938 kB / 1.385 GB, free: 1.461 MB / 1.076 GB Notification: Performance of Transformations before backend: time 6.594e-05/1.18, allocations: 4.656 kB / 1.385 GB, free: 1.461 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: 211 * Number of variables: 211 Notification: Performance of Generate backend data structure: time 0.003544/1.184, allocations: 1.443 MB / 1.386 GB, free: 328 kB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.549e-05/1.184, allocations: 9.594 kB / 1.386 GB, free: 328 kB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001093/1.185, allocations: 199.5 kB / 1.386 GB, free: 224 kB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001565/1.187, allocations: 0.763 MB / 1.387 GB, free: 15.59 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.447e-05/1.187, allocations: 60.38 kB / 1.387 GB, free: 15.56 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001611/1.187, allocations: 86.14 kB / 1.387 GB, free: 15.53 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001968/1.189, allocations: 0.9203 MB / 1.388 GB, free: 14.93 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.689e-05/1.189, allocations: 3.984 kB / 1.388 GB, free: 14.93 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.724e-05/1.189, allocations: 36.75 kB / 1.388 GB, free: 14.9 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.398e-05/1.189, allocations: 20.22 kB / 1.388 GB, free: 14.9 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002065/1.191, allocations: 1.112 MB / 1.389 GB, free: 14.38 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.004798/1.196, allocations: 2.695 MB / 1.392 GB, free: 12.21 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001781/1.198, allocations: 0.9002 MB / 1.393 GB, free: 11.69 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000599/1.198, allocations: 307.8 kB / 1.393 GB, free: 11.54 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 9.915e-05/1.198, allocations: 35.08 kB / 1.393 GB, free: 11.52 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001059/1.2, allocations: 0.4914 MB / 1.394 GB, free: 11.2 MB / 1.092 GB Notification: Performance of pre-optimization done (n=79): time 3.817e-06/1.2, allocations: 1.188 kB / 1.394 GB, free: 11.2 MB / 1.092 GB Notification: Performance of matching and sorting (n=79): time 0.003469/1.203, allocations: 1.186 MB / 1.395 GB, free: 10.55 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001199/1.203, allocations: 197.2 kB / 1.395 GB, free: 10.33 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001088/1.204, allocations: 0.6304 MB / 1.396 GB, free: 9.957 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 8.264e-05/1.204, allocations: 42.17 kB / 1.396 GB, free: 9.914 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003807/1.205, allocations: 400.1 kB / 1.396 GB, free: 9.562 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002428/1.205, allocations: 266.3 kB / 1.396 GB, free: 9.332 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002879/1.205, allocations: 165.8 kB / 1.396 GB, free: 9.227 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001861/1.205, allocations: 388.1 kB / 1.397 GB, free: 8.855 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006135/1.206, allocations: 268.1 kB / 1.397 GB, free: 8.727 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007382/1.207, allocations: 358.8 kB / 1.397 GB, free: 8.523 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001228/1.208, allocations: 0.6109 MB / 1.398 GB, free: 8.188 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.472e-06/1.208, allocations: 0 / 1.398 GB, free: 8.188 MB / 1.092 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.002223/1.21, allocations: 0.8473 MB / 1.399 GB, free: 7.754 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 2.329e-05/1.21, allocations: 5.625 kB / 1.399 GB, free: 7.754 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.929e-06/1.21, allocations: 1.281 kB / 1.399 GB, free: 7.754 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006472/1.211, allocations: 80.91 kB / 1.399 GB, free: 7.715 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006864/1.212, allocations: 161 kB / 1.399 GB, free: 7.672 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002249/1.214, allocations: 1.652 MB / 1.401 GB, free: 6.055 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009663/1.215, allocations: 94.44 kB / 1.401 GB, free: 5.992 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001117/1.215, allocations: 34.06 kB / 1.401 GB, free: 5.98 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: 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.0006249/1.216, allocations: 279.2 kB / 1.401 GB, free: 5.758 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002747/1.216, allocations: 85.62 kB / 1.401 GB, free: 5.711 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002604/1.219, allocations: 1.059 MB / 1.402 GB, free: 5.117 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.038e-05/1.219, allocations: 9.406 kB / 1.402 GB, free: 5.117 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.698e-06/1.219, allocations: 0 / 1.402 GB, free: 5.117 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.434e-05/1.219, allocations: 9.203 kB / 1.402 GB, free: 5.109 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00394/1.223, allocations: 1.964 MB / 1.404 GB, free: 3.801 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.26e-06/1.223, allocations: 0 / 1.404 GB, free: 3.801 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005675/1.223, allocations: 142.1 kB / 1.404 GB, free: 3.77 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004457/1.224, allocations: 77.03 kB / 1.404 GB, free: 3.727 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.362e-05/1.224, allocations: 24.62 kB / 1.404 GB, free: 3.711 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001971/1.226, allocations: 1.675 MB / 1.406 GB, free: 2.086 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.718e-06/1.226, allocations: 3.984 kB / 1.406 GB, free: 2.082 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002369/1.228, allocations: 0.9945 MB / 1.407 GB, free: 1.516 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004902/1.229, allocations: 283.1 kB / 1.407 GB, free: 1.266 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001861/1.229, allocations: 22.09 kB / 1.407 GB, free: 1.25 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007083/1.23, allocations: 58.27 kB / 1.407 GB, free: 1.223 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000164/1.23, allocations: 74.45 kB / 1.407 GB, free: 1.184 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.792e-05/1.23, allocations: 32.77 kB / 1.407 GB, free: 1.172 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0006363/1.23, allocations: 455.2 kB / 1.408 GB, free: 0.9102 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.6e-07/1.23, allocations: 0 / 1.408 GB, free: 0.9102 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.001134/1.232, allocations: 327.9 kB / 1.408 GB, free: 0.8125 MB / 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: 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.001529/1.233, allocations: 0.6013 MB / 1.409 GB, free: 0.5273 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.00187/1.235, allocations: 0.8349 MB / 1.41 GB, free: 88 kB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/1.235, allocations: 0 / 1.41 GB, free: 88 kB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0009808/1.236, allocations: 0.522 MB / 1.41 GB, free: 15.78 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001387/1.237, allocations: 306 kB / 1.41 GB, free: 15.63 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004433/1.242, allocations: 1.647 MB / 1.412 GB, free: 14.64 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001029/1.243, allocations: 1.016 MB / 1.413 GB, free: 13.8 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.001274/1.244, allocations: 254.8 kB / 1.413 GB, free: 13.68 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003666/1.245, allocations: 106.4 kB / 1.413 GB, free: 13.64 MB / 1.107 GB Notification: Performance of SimCode: time 1.122e-06/1.245, allocations: 0 / 1.413 GB, free: 13.64 MB / 1.107 GB Notification: Performance of Templates: time 0.02776/1.272, allocations: 15.33 MB / 1.428 GB, free: 14.57 MB / 1.123 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.sim & ./Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches