Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.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.SolarHourAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|solHouAng.solHouAng",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|solHouAng.solHouAng",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001258/0.001258, allocations: 106.9 kB / 16.41 MB, free: 6.488 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.00118/0.00118, allocations: 185.6 kB / 17.34 MB, free: 5.766 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.22/1.22, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.345/2.345, allocations: 461.9 MB / 0.7354 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001255/0.001255, allocations: 59.91 kB / 1.055 GB, free: 7.77 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6465/0.6477, allocations: 157.4 MB / 1.208 GB, free: 13.7 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.005602/0.6534, allocations: 4.79 MB / 1.213 GB, free: 8.891 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.1402/0.7936, allocations: 150.6 MB / 1.36 GB, free: 1.707 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000867/0.7945, allocations: 19.88 kB / 1.36 GB, free: 1.688 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0007155/0.7953, allocations: 190.2 kB / 1.36 GB, free: 1.5 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.001723/0.797, allocations: 0.5317 MB / 1.361 GB, free: 0.9688 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.001841/0.7989, allocations: 0.8285 MB / 1.362 GB, free: 148 kB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.001455/0.8003, allocations: 1.366 MB / 1.363 GB, free: 14.77 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008152/0.8012, allocations: 0.5713 MB / 1.364 GB, free: 14.18 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006319/0.8018, allocations: 482.4 kB / 1.364 GB, free: 13.71 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006773/0.8025, allocations: 0.494 MB / 1.365 GB, free: 13.21 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0001941/0.8027, allocations: 112 kB / 1.365 GB, free: 13.11 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008385/0.8035, allocations: 483.6 kB / 1.365 GB, free: 12.63 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0002488/0.8038, allocations: 287.1 kB / 1.365 GB, free: 12.35 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0004862/0.8043, allocations: 0.5519 MB / 1.366 GB, free: 11.8 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.001655/0.806, allocations: 1.606 MB / 1.367 GB, free: 10.19 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.806, allocations: 4 kB / 1.367 GB, free: 10.18 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.393e-06/0.806, allocations: 0 / 1.367 GB, free: 10.18 MB / 1.092 GB Notification: Performance of Transformations before backend: time 2.825e-05/0.806, allocations: 0 / 1.367 GB, free: 10.18 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: 208 * Number of variables: 208 Notification: Performance of Generate backend data structure: time 0.002421/0.8084, allocations: 1.407 MB / 1.369 GB, free: 8.723 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 3.925e-05/0.8085, allocations: 12.03 kB / 1.369 GB, free: 8.711 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008917/0.8094, allocations: 179.4 kB / 1.369 GB, free: 8.535 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001041/0.8104, allocations: 0.7617 MB / 1.37 GB, free: 7.734 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.182e-05/0.8105, allocations: 62 kB / 1.37 GB, free: 7.672 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.742e-05/0.8106, allocations: 87.94 kB / 1.37 GB, free: 7.586 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001411/0.812, allocations: 0.8989 MB / 1.371 GB, free: 6.648 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.908e-05/0.8121, allocations: 0 / 1.371 GB, free: 6.648 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.93e-05/0.8121, allocations: 36 kB / 1.371 GB, free: 6.613 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.515e-05/0.8122, allocations: 20 kB / 1.371 GB, free: 6.594 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001559/0.8137, allocations: 1.097 MB / 1.372 GB, free: 5.496 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.003353/0.8171, allocations: 2.651 MB / 1.374 GB, free: 2.73 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001333/0.8184, allocations: 0.86 MB / 1.375 GB, free: 1.844 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004702/0.8189, allocations: 306.7 kB / 1.376 GB, free: 1.539 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 6.943e-05/0.819, allocations: 32.59 kB / 1.376 GB, free: 1.508 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000729/0.8197, allocations: 491.1 kB / 1.376 GB, free: 1.008 MB / 1.092 GB Notification: Performance of pre-optimization done (n=79): time 1.893e-06/0.8197, allocations: 0 / 1.376 GB, free: 1.008 MB / 1.092 GB Notification: Performance of matching and sorting (n=79): time 0.002824/0.8226, allocations: 1.174 MB / 1.377 GB, free: 15.8 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.161e-05/0.8227, allocations: 192.6 kB / 1.377 GB, free: 15.57 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000638/0.8233, allocations: 0.6291 MB / 1.378 GB, free: 14.93 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 5.916e-05/0.8234, allocations: 41.7 kB / 1.378 GB, free: 14.89 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002395/0.8236, allocations: 388.4 kB / 1.378 GB, free: 14.5 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001667/0.8238, allocations: 256.2 kB / 1.379 GB, free: 14.25 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002092/0.824, allocations: 170.4 kB / 1.379 GB, free: 14.08 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001315/0.8241, allocations: 390.7 kB / 1.379 GB, free: 13.69 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004646/0.8246, allocations: 261.9 kB / 1.38 GB, free: 13.43 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005453/0.8252, allocations: 359.1 kB / 1.38 GB, free: 13.07 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009845/0.8262, allocations: 0.5994 MB / 1.38 GB, free: 12.45 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.8262, allocations: 0 / 1.38 GB, free: 12.45 MB / 1.107 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.00171/0.8279, allocations: 0.8409 MB / 1.381 GB, free: 11.6 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.443e-05/0.8279, allocations: 4 kB / 1.381 GB, free: 11.6 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.867e-06/0.8279, allocations: 7.984 kB / 1.381 GB, free: 11.59 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005524/0.8285, allocations: 84.86 kB / 1.381 GB, free: 11.5 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005881/0.8291, allocations: 151.8 kB / 1.381 GB, free: 11.36 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001948/0.831, allocations: 1.63 MB / 1.383 GB, free: 9.578 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000655/0.8317, allocations: 91.39 kB / 1.383 GB, free: 9.488 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.164e-05/0.8318, allocations: 35.97 kB / 1.383 GB, free: 9.453 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: 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.000367/0.8321, allocations: 283.5 kB / 1.383 GB, free: 9.168 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001348/0.8323, allocations: 78.97 kB / 1.384 GB, free: 9.09 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002124/0.8344, allocations: 1.042 MB / 1.385 GB, free: 8.039 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.905e-06/0.8344, allocations: 8 kB / 1.385 GB, free: 8.031 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.8344, allocations: 4 kB / 1.385 GB, free: 8.027 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.186e-05/0.8345, allocations: 7.922 kB / 1.385 GB, free: 8.02 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002752/0.8372, allocations: 1.908 MB / 1.386 GB, free: 6.051 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.937e-06/0.8372, allocations: 0 / 1.386 GB, free: 6.051 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005253/0.8378, allocations: 139.8 kB / 1.387 GB, free: 5.914 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004279/0.8382, allocations: 72.78 kB / 1.387 GB, free: 5.84 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.896e-05/0.8383, allocations: 23.98 kB / 1.387 GB, free: 5.816 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001675/0.8399, allocations: 1.658 MB / 1.388 GB, free: 4.008 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.84, allocations: 0 / 1.388 GB, free: 4.008 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001797/0.8418, allocations: 0.9901 MB / 1.389 GB, free: 3 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003186/0.8421, allocations: 267.8 kB / 1.39 GB, free: 2.719 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001126/0.8422, allocations: 16 kB / 1.39 GB, free: 2.703 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006255/0.8428, allocations: 67.92 kB / 1.39 GB, free: 2.637 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001321/0.843, allocations: 72.84 kB / 1.39 GB, free: 2.562 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.023e-05/0.8431, allocations: 35.97 kB / 1.39 GB, free: 2.527 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.0004961/0.8436, allocations: 451 kB / 1.39 GB, free: 2.094 MB / 1.107 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8436, allocations: 3.938 kB / 1.39 GB, free: 2.09 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.0007858/0.8444, allocations: 319.2 kB / 1.39 GB, free: 1.777 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: 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.001272/0.8456, allocations: 0.6067 MB / 1.391 GB, free: 1.348 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.001543/0.8472, allocations: 0.8236 MB / 1.392 GB, free: 0.5156 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/0.8472, allocations: 3.984 kB / 1.392 GB, free: 0.5117 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.0008416/0.8481, allocations: 0.512 MB / 1.392 GB, free: 15.98 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001165/0.8492, allocations: 292.8 kB / 1.393 GB, free: 15.71 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002599/0.8518, allocations: 1.644 MB / 1.394 GB, free: 14.03 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000493/0.8523, allocations: 1.012 MB / 1.395 GB, free: 13 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002853/0.8526, allocations: 119.3 kB / 1.395 GB, free: 12.88 MB / 1.123 GB Notification: Performance of SimCode: time 1.874e-06/0.8526, allocations: 0 / 1.395 GB, free: 12.88 MB / 1.123 GB Notification: Performance of Templates: time 0.02008/0.8727, allocations: 18.32 MB / 1.413 GB, free: 10.61 MB / 1.139 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.sim & ./Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches