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 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.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.007358/0.007358, allocations: 101.3 kB / 15.73 MB, free: 6.043 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.001738/0.001738, allocations: 185.5 kB / 16.67 MB, free: 5.977 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.392/1.392, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.749/2.749, allocations: 461.9 MB / 0.7348 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001234/0.001234, allocations: 59.91 kB / 1.054 GB, free: 7.23 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3253/0.3266, allocations: 157.4 MB / 1.208 GB, free: 9.715 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.006552/0.3332, allocations: 4.803 MB / 1.212 GB, free: 4.887 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.8293/1.163, allocations: 150.6 MB / 1.359 GB, free: 9.441 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001064/1.164, allocations: 19.31 kB / 1.359 GB, free: 9.434 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0008164/1.165, allocations: 190.5 kB / 1.36 GB, free: 9.312 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.002178/1.167, allocations: 0.5436 MB / 1.36 GB, free: 9 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.002188/1.169, allocations: 0.8372 MB / 1.361 GB, free: 8.57 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.002158/1.171, allocations: 1.382 MB / 1.362 GB, free: 7.855 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001087/1.172, allocations: 0.5891 MB / 1.363 GB, free: 7.551 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009396/1.173, allocations: 486.8 kB / 1.363 GB, free: 7.312 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001016/1.174, allocations: 0.507 MB / 1.364 GB, free: 7.039 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0004342/1.175, allocations: 117.1 kB / 1.364 GB, free: 7.039 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001493/1.176, allocations: 491.5 kB / 1.364 GB, free: 6.93 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0004404/1.177, allocations: 288.3 kB / 1.365 GB, free: 6.75 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0009421/1.178, allocations: 0.5648 MB / 1.365 GB, free: 6.367 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.003329/1.181, allocations: 1.637 MB / 1.367 GB, free: 5.68 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/1.181, allocations: 0 / 1.367 GB, free: 5.68 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.713e-06/1.181, allocations: 0 / 1.367 GB, free: 5.68 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.127e-05/1.181, allocations: 0 / 1.367 GB, free: 5.68 MB / 1.061 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.003875/1.185, allocations: 1.43 MB / 1.368 GB, free: 4.703 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.464e-05/1.185, allocations: 9.375 kB / 1.368 GB, free: 4.703 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001107/1.186, allocations: 181.5 kB / 1.368 GB, free: 4.645 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001501/1.188, allocations: 0.7581 MB / 1.369 GB, free: 4.156 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.721e-05/1.188, allocations: 63.69 kB / 1.369 GB, free: 4.125 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001151/1.188, allocations: 78.94 kB / 1.369 GB, free: 4.102 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001826/1.19, allocations: 0.9221 MB / 1.37 GB, free: 3.676 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.31e-05/1.19, allocations: 7.766 kB / 1.37 GB, free: 3.672 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.059e-05/1.19, allocations: 36.08 kB / 1.37 GB, free: 3.645 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.261e-05/1.19, allocations: 20.31 kB / 1.37 GB, free: 3.645 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001966/1.192, allocations: 1.111 MB / 1.371 GB, free: 3.363 MB / 1.061 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.004319/1.196, allocations: 2.694 MB / 1.374 GB, free: 1.199 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001565/1.198, allocations: 0.8923 MB / 1.375 GB, free: 0.6914 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005415/1.198, allocations: 302.1 kB / 1.375 GB, free: 0.5391 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 8.101e-05/1.198, allocations: 30.91 kB / 1.375 GB, free: 0.5234 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008468/1.199, allocations: 0.5003 MB / 1.376 GB, free: 200 kB / 1.061 GB Notification: Performance of pre-optimization done (n=79): time 2.194e-06/1.199, allocations: 0 / 1.376 GB, free: 200 kB / 1.061 GB Notification: Performance of matching and sorting (n=79): time 0.003098/1.202, allocations: 1.186 MB / 1.377 GB, free: 15.55 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001172/1.202, allocations: 197.3 kB / 1.377 GB, free: 15.32 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008441/1.203, allocations: 0.6224 MB / 1.378 GB, free: 14.95 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 6.287e-05/1.203, allocations: 37.61 kB / 1.378 GB, free: 14.91 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002948/1.204, allocations: 391.2 kB / 1.378 GB, free: 14.57 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002068/1.204, allocations: 260.8 kB / 1.378 GB, free: 14.35 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002628/1.204, allocations: 166.2 kB / 1.378 GB, free: 14.25 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001656/1.204, allocations: 384.9 kB / 1.379 GB, free: 13.88 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000528/1.205, allocations: 267.9 kB / 1.379 GB, free: 13.75 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006276/1.205, allocations: 360 kB / 1.379 GB, free: 13.54 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001116/1.207, allocations: 0.6061 MB / 1.38 GB, free: 13.21 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/1.207, allocations: 0 / 1.38 GB, free: 13.21 MB / 1.076 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.002044/1.209, allocations: 0.8538 MB / 1.381 GB, free: 12.77 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.38e-05/1.209, allocations: 5.75 kB / 1.381 GB, free: 12.77 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.326e-06/1.209, allocations: 5.219 kB / 1.381 GB, free: 12.77 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000593/1.209, allocations: 78.75 kB / 1.381 GB, free: 12.73 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006288/1.21, allocations: 166 kB / 1.381 GB, free: 12.69 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002284/1.212, allocations: 1.642 MB / 1.383 GB, free: 11.08 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007963/1.213, allocations: 91.47 kB / 1.383 GB, free: 11.02 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.378e-05/1.213, allocations: 38.06 kB / 1.383 GB, free: 11 MB / 1.076 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.0005062/1.214, allocations: 265.7 kB / 1.383 GB, free: 10.8 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001808/1.214, allocations: 82.31 kB / 1.383 GB, free: 10.75 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002462/1.216, allocations: 1.069 MB / 1.384 GB, free: 10.16 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.067e-05/1.216, allocations: 9.75 kB / 1.384 GB, free: 10.16 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.675e-06/1.216, allocations: 0 / 1.384 GB, free: 10.16 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.31e-05/1.216, allocations: 7.922 kB / 1.384 GB, free: 10.15 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00334/1.22, allocations: 1.959 MB / 1.386 GB, free: 8.84 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.018e-06/1.22, allocations: 0 / 1.386 GB, free: 8.84 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005544/1.22, allocations: 141.9 kB / 1.386 GB, free: 8.809 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004497/1.221, allocations: 76.73 kB / 1.386 GB, free: 8.766 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.281e-05/1.221, allocations: 32.64 kB / 1.386 GB, free: 8.742 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001944/1.223, allocations: 1.665 MB / 1.388 GB, free: 7.125 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/1.223, allocations: 0 / 1.388 GB, free: 7.125 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00209/1.225, allocations: 0.9936 MB / 1.389 GB, free: 6.559 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004316/1.225, allocations: 275.6 kB / 1.389 GB, free: 6.316 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001116/1.225, allocations: 16.84 kB / 1.389 GB, free: 6.305 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006246/1.226, allocations: 63.94 kB / 1.389 GB, free: 6.273 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000162/1.226, allocations: 72.61 kB / 1.389 GB, free: 6.234 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.679e-05/1.226, allocations: 38.73 kB / 1.389 GB, free: 6.219 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0005997/1.227, allocations: 451.8 kB / 1.39 GB, free: 5.965 MB / 1.076 GB Notification: Performance of sort global known variables: time 2.51e-07/1.227, allocations: 0 / 1.39 GB, free: 5.965 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.001049/1.228, allocations: 320.9 kB / 1.39 GB, free: 5.875 MB / 1.076 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.001432/1.229, allocations: 0.5971 MB / 1.391 GB, free: 5.598 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001699/1.231, allocations: 0.8257 MB / 1.392 GB, free: 5.164 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/1.231, allocations: 0 / 1.392 GB, free: 5.164 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0008827/1.232, allocations: 0.5205 MB / 1.392 GB, free: 4.859 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001269/1.233, allocations: 316.4 kB / 1.392 GB, free: 4.695 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002849/1.236, allocations: 1.624 MB / 1.394 GB, free: 3.73 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006274/1.237, allocations: 1.019 MB / 1.395 GB, free: 2.891 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0007477/1.238, allocations: 255.8 kB / 1.395 GB, free: 2.766 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002455/1.238, allocations: 108.9 kB / 1.395 GB, free: 2.727 MB / 1.076 GB Notification: Performance of SimCode: time 6.11e-07/1.238, allocations: 0 / 1.395 GB, free: 2.727 MB / 1.076 GB Notification: Performance of Templates: time 0.02773/1.266, allocations: 15.6 MB / 1.411 GB, free: 6.688 MB / 1.092 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