Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.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.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|briCoe.F1|briCoe.F2",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient") translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|briCoe.F1|briCoe.F2",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001525/0.001525, allocations: 110.5 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.00176/0.00176, allocations: 187 kB / 17.34 MB, free: 5.762 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.395/1.395, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.579/2.579, allocations: 461.9 MB / 0.7354 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00151/0.00151, allocations: 67.88 kB / 1.055 GB, free: 7.742 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8693/0.8708, allocations: 157.4 MB / 1.208 GB, free: 13.66 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient): time 0.007627/0.8785, allocations: 5.386 MB / 1.214 GB, free: 8.25 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.1639/1.042, allocations: 150.8 MB / 1.361 GB, free: 0.8203 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001072/1.044, allocations: 19.88 kB / 1.361 GB, free: 0.8008 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.000851/1.044, allocations: 210 kB / 1.361 GB, free: 0.5938 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.002224/1.047, allocations: 0.5704 MB / 1.362 GB, free: 24 kB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.002416/1.049, allocations: 0.9548 MB / 1.363 GB, free: 15.07 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.002123/1.051, allocations: 1.62 MB / 1.364 GB, free: 13.45 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001278/1.053, allocations: 0.7551 MB / 1.365 GB, free: 12.66 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009932/1.054, allocations: 0.5879 MB / 1.366 GB, free: 12.07 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009494/1.055, allocations: 0.6573 MB / 1.366 GB, free: 11.41 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0003521/1.055, allocations: 144 kB / 1.366 GB, free: 11.27 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001204/1.056, allocations: 0.5191 MB / 1.367 GB, free: 10.75 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0004213/1.057, allocations: 362.9 kB / 1.367 GB, free: 10.39 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0009255/1.057, allocations: 0.6685 MB / 1.368 GB, free: 9.719 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.002457/1.06, allocations: 1.914 MB / 1.37 GB, free: 7.801 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/1.06, allocations: 0 / 1.37 GB, free: 7.801 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.393e-06/1.06, allocations: 0 / 1.37 GB, free: 7.801 MB / 1.092 GB Notification: Performance of Transformations before backend: time 4.692e-05/1.06, allocations: 0 / 1.37 GB, free: 7.801 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: 279 * Number of variables: 279 Notification: Performance of Generate backend data structure: time 0.003523/1.064, allocations: 1.682 MB / 1.371 GB, free: 6.066 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 3.881e-05/1.064, allocations: 8.031 kB / 1.371 GB, free: 6.059 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00538/1.069, allocations: 0.7561 MB / 1.372 GB, free: 5.301 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001472/1.07, allocations: 0.828 MB / 1.373 GB, free: 4.426 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.688e-05/1.071, allocations: 86.2 kB / 1.373 GB, free: 4.34 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002199/1.071, allocations: 104 kB / 1.373 GB, free: 4.238 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003465/1.074, allocations: 1.428 MB / 1.374 GB, free: 2.746 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.329e-05/1.074, allocations: 0 / 1.374 GB, free: 2.746 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000135/1.074, allocations: 48 kB / 1.375 GB, free: 2.699 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.407e-05/1.074, allocations: 35.98 kB / 1.375 GB, free: 2.664 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004893/1.079, allocations: 1.882 MB / 1.376 GB, free: 0.7734 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.006788/1.086, allocations: 3.507 MB / 1.38 GB, free: 13.14 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003591/1.09, allocations: 1.377 MB / 1.381 GB, free: 11.74 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001605/1.091, allocations: 0.5987 MB / 1.382 GB, free: 11.13 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007439/1.092, allocations: 478.6 kB / 1.382 GB, free: 10.57 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002152/1.094, allocations: 0.801 MB / 1.383 GB, free: 9.754 MB / 1.107 GB Notification: Performance of pre-optimization done (n=109): time 7.194e-06/1.094, allocations: 0 / 1.383 GB, free: 9.754 MB / 1.107 GB Notification: Performance of matching and sorting (n=109): time 0.00656/1.101, allocations: 1.977 MB / 1.385 GB, free: 7.75 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000121/1.101, allocations: 192.9 kB / 1.385 GB, free: 7.52 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001041/1.102, allocations: 0.6527 MB / 1.386 GB, free: 6.859 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 0.0001243/1.102, allocations: 45.7 kB / 1.386 GB, free: 6.809 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003963/1.103, allocations: 448.5 kB / 1.386 GB, free: 6.363 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003153/1.103, allocations: 350.9 kB / 1.387 GB, free: 6.016 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003929/1.103, allocations: 202.5 kB / 1.387 GB, free: 5.809 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.000196/1.104, allocations: 406.6 kB / 1.387 GB, free: 5.402 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001547/1.105, allocations: 0.5016 MB / 1.388 GB, free: 4.902 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001664/1.107, allocations: 0.6091 MB / 1.388 GB, free: 4.277 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003071/1.11, allocations: 1.082 MB / 1.389 GB, free: 3.18 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.432e-06/1.11, allocations: 8 kB / 1.389 GB, free: 3.172 MB / 1.107 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.00413/1.114, allocations: 1.376 MB / 1.391 GB, free: 1.789 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 2.273e-05/1.114, allocations: 4 kB / 1.391 GB, free: 1.785 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.039e-05/1.114, allocations: 8.125 kB / 1.391 GB, free: 1.777 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006162/1.115, allocations: 80.83 kB / 1.391 GB, free: 1.695 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001435/1.116, allocations: 275.6 kB / 1.391 GB, free: 1.426 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00221/1.118, allocations: 1.627 MB / 1.393 GB, free: 15.65 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00149/1.12, allocations: 173.1 kB / 1.393 GB, free: 15.48 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001598/1.12, allocations: 47.97 kB / 1.393 GB, free: 15.43 MB / 1.123 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (124): * Single equations (assignments): 123 * 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.0006787/1.121, allocations: 291.3 kB / 1.393 GB, free: 15.14 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003102/1.121, allocations: 94.81 kB / 1.393 GB, free: 15.04 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004765/1.126, allocations: 1.672 MB / 1.395 GB, free: 13.36 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.388e-05/1.126, allocations: 12 kB / 1.395 GB, free: 13.34 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/1.126, allocations: 0 / 1.395 GB, free: 13.34 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.436e-05/1.126, allocations: 7.969 kB / 1.395 GB, free: 13.34 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00628/1.132, allocations: 2.81 MB / 1.398 GB, free: 10.47 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.011e-06/1.132, allocations: 4 kB / 1.398 GB, free: 10.46 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001372/1.134, allocations: 255.6 kB / 1.398 GB, free: 10.21 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004565/1.134, allocations: 68.8 kB / 1.398 GB, free: 10.14 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001062/1.134, allocations: 35.97 kB / 1.398 GB, free: 10.11 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001999/1.136, allocations: 1.654 MB / 1.4 GB, free: 8.297 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/1.136, allocations: 7.875 kB / 1.4 GB, free: 8.289 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004351/1.141, allocations: 1.529 MB / 1.401 GB, free: 6.742 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006372/1.141, allocations: 315.5 kB / 1.401 GB, free: 6.414 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002729/1.142, allocations: 31.98 kB / 1.401 GB, free: 6.383 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001362/1.143, allocations: 115.9 kB / 1.401 GB, free: 6.27 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002152/1.143, allocations: 84.88 kB / 1.402 GB, free: 6.184 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001158/1.143, allocations: 51.95 kB / 1.402 GB, free: 6.133 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0007125/1.144, allocations: 471 kB / 1.402 GB, free: 5.68 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.41e-07/1.144, allocations: 0 / 1.402 GB, free: 5.68 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.001206/1.145, allocations: 407 kB / 1.402 GB, free: 5.281 MB / 1.123 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 (122): * Single equations (assignments): 116 * 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.001578/1.147, allocations: 0.6252 MB / 1.403 GB, free: 4.832 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.004161/1.151, allocations: 1.401 MB / 1.404 GB, free: 3.422 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 4.558e-06/1.151, allocations: 0 / 1.404 GB, free: 3.422 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.002191/1.153, allocations: 0.8163 MB / 1.405 GB, free: 2.594 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001776/1.155, allocations: 322.1 kB / 1.406 GB, free: 2.301 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005022/1.16, allocations: 2.13 MB / 1.408 GB, free: 140 kB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008297/1.161, allocations: 1.088 MB / 1.409 GB, free: 15.02 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000678/1.162, allocations: 147.3 kB / 1.409 GB, free: 14.88 MB / 1.139 GB Notification: Performance of SimCode: time 7.52e-07/1.162, allocations: 0 / 1.409 GB, free: 14.88 MB / 1.139 GB Notification: Performance of Templates: time 0.03455/1.196, allocations: 22.87 MB / 1.431 GB, free: 8.117 MB / 1.154 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.sim & ./Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,briCoe.F1,briCoe.F2 Variables in the result:briCoe.F1,briCoe.F2,time