Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.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.DiffuseIsotropic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|HDifTilIso.HSkyDifTil|HDifTilIso.HGroDifTil",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic") translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|HDifTilIso.HSkyDifTil|HDifTilIso.HGroDifTil",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001206/0.001206, allocations: 109 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.001156/0.001156, allocations: 185.5 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.222/1.222, 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.337/2.337, allocations: 461.9 MB / 0.7355 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001104/0.001104, allocations: 60.14 kB / 1.055 GB, free: 7.742 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6334/0.6345, allocations: 157.4 MB / 1.208 GB, free: 13.63 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic): time 0.005299/0.6398, allocations: 4.853 MB / 1.213 GB, free: 8.758 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.1353/0.7752, allocations: 150.6 MB / 1.36 GB, free: 1.57 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007737/0.776, allocations: 15.94 kB / 1.36 GB, free: 1.555 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0006478/0.7767, allocations: 186.2 kB / 1.36 GB, free: 1.371 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.001762/0.7784, allocations: 0.5375 MB / 1.361 GB, free: 0.8359 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.001829/0.7803, allocations: 0.8324 MB / 1.362 GB, free: 8 kB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.001542/0.7818, allocations: 1.382 MB / 1.363 GB, free: 14.62 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008276/0.7827, allocations: 0.5792 MB / 1.364 GB, free: 14.02 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006781/0.7834, allocations: 490.3 kB / 1.364 GB, free: 13.54 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005495/0.7839, allocations: 0.4901 MB / 1.365 GB, free: 13.05 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0001533/0.7841, allocations: 116 kB / 1.365 GB, free: 12.94 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000831/0.7849, allocations: 483.6 kB / 1.365 GB, free: 12.46 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0002259/0.7851, allocations: 295.1 kB / 1.365 GB, free: 12.18 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0003946/0.7856, allocations: 0.5519 MB / 1.366 GB, free: 11.62 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.001446/0.787, allocations: 1.625 MB / 1.368 GB, free: 9.992 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.787, allocations: 0 / 1.368 GB, free: 9.992 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.243e-06/0.787, allocations: 0 / 1.368 GB, free: 9.992 MB / 1.092 GB Notification: Performance of Transformations before backend: time 1.336e-05/0.787, allocations: 4 kB / 1.368 GB, free: 9.988 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: 211 * Number of variables: 211 Notification: Performance of Generate backend data structure: time 0.002103/0.7892, allocations: 1.418 MB / 1.369 GB, free: 8.516 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 3.174e-05/0.7892, allocations: 15.97 kB / 1.369 GB, free: 8.5 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008374/0.79, allocations: 183.4 kB / 1.369 GB, free: 8.32 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001042/0.7911, allocations: 0.7578 MB / 1.37 GB, free: 7.523 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.833e-05/0.7911, allocations: 62 kB / 1.37 GB, free: 7.461 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.875e-05/0.7912, allocations: 80 kB / 1.37 GB, free: 7.383 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001391/0.7926, allocations: 0.9183 MB / 1.371 GB, free: 6.426 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.612e-05/0.7927, allocations: 0 / 1.371 GB, free: 6.426 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.666e-05/0.7928, allocations: 36 kB / 1.371 GB, free: 6.391 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.702e-05/0.7928, allocations: 24 kB / 1.371 GB, free: 6.367 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001575/0.7944, allocations: 1.1 MB / 1.372 GB, free: 5.266 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.003478/0.7978, allocations: 2.669 MB / 1.375 GB, free: 2.48 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001337/0.7992, allocations: 0.7941 MB / 1.375 GB, free: 1.68 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004799/0.7997, allocations: 310.6 kB / 1.376 GB, free: 1.371 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 6.544e-05/0.7998, allocations: 28.69 kB / 1.376 GB, free: 1.344 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007788/0.8005, allocations: 499.1 kB / 1.376 GB, free: 0.8359 MB / 1.092 GB Notification: Performance of pre-optimization done (n=80): time 1.824e-06/0.8006, allocations: 0 / 1.376 GB, free: 0.8359 MB / 1.092 GB Notification: Performance of matching and sorting (n=80): time 0.002938/0.8035, allocations: 1.194 MB / 1.377 GB, free: 15.61 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.449e-05/0.8036, allocations: 196.6 kB / 1.378 GB, free: 15.38 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000701/0.8043, allocations: 0.6293 MB / 1.378 GB, free: 14.74 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 6.168e-05/0.8044, allocations: 41.7 kB / 1.378 GB, free: 14.69 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002787/0.8047, allocations: 400.3 kB / 1.379 GB, free: 14.29 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001872/0.8049, allocations: 264.2 kB / 1.379 GB, free: 14.03 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002204/0.8051, allocations: 162.4 kB / 1.379 GB, free: 13.87 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001509/0.8052, allocations: 386.7 kB / 1.379 GB, free: 13.48 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004973/0.8057, allocations: 277.8 kB / 1.38 GB, free: 13.21 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005806/0.8063, allocations: 359.1 kB / 1.38 GB, free: 12.84 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001022/0.8074, allocations: 0.6072 MB / 1.381 GB, free: 12.23 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.458e-06/0.8074, allocations: 4 kB / 1.381 GB, free: 12.22 MB / 1.107 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001806/0.8092, allocations: 0.8527 MB / 1.381 GB, free: 11.36 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.719e-05/0.8092, allocations: 4 kB / 1.381 GB, free: 11.35 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.386e-06/0.8092, allocations: 4.062 kB / 1.381 GB, free: 11.35 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005807/0.8098, allocations: 88.83 kB / 1.382 GB, free: 11.26 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006199/0.8105, allocations: 159.7 kB / 1.382 GB, free: 11.1 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001909/0.8124, allocations: 1.629 MB / 1.383 GB, free: 9.332 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006489/0.813, allocations: 91.34 kB / 1.383 GB, free: 9.242 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.391e-05/0.8131, allocations: 44.03 kB / 1.383 GB, free: 9.199 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 (95): * Single equations (assignments): 94 * 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.0003548/0.8135, allocations: 267.4 kB / 1.384 GB, free: 8.93 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001359/0.8136, allocations: 82.95 kB / 1.384 GB, free: 8.848 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002136/0.8158, allocations: 1.05 MB / 1.385 GB, free: 7.781 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.404e-06/0.8158, allocations: 8 kB / 1.385 GB, free: 7.773 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.8158, allocations: 3.938 kB / 1.385 GB, free: 7.77 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.097e-06/0.8158, allocations: 7.984 kB / 1.385 GB, free: 7.762 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009073/0.8167, allocations: 0.8878 MB / 1.386 GB, free: 6.824 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.391e-06/0.8167, allocations: 8 kB / 1.386 GB, free: 6.816 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005374/0.8173, allocations: 143.8 kB / 1.386 GB, free: 6.676 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004212/0.8177, allocations: 68.78 kB / 1.386 GB, free: 6.605 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.913e-05/0.8178, allocations: 35.91 kB / 1.386 GB, free: 6.57 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001717/0.8195, allocations: 1.658 MB / 1.388 GB, free: 4.766 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.8195, allocations: 0 / 1.388 GB, free: 4.766 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001797/0.8213, allocations: 0.9318 MB / 1.388 GB, free: 3.812 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003201/0.8216, allocations: 271.7 kB / 1.389 GB, free: 3.527 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001151/0.8217, allocations: 16 kB / 1.389 GB, free: 3.512 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005912/0.8223, allocations: 65.75 kB / 1.389 GB, free: 3.449 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001311/0.8225, allocations: 68.89 kB / 1.389 GB, free: 3.379 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.28e-05/0.8226, allocations: 39.92 kB / 1.389 GB, free: 3.34 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.0004948/0.8231, allocations: 459 kB / 1.389 GB, free: 2.895 MB / 1.107 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8231, allocations: 0 / 1.389 GB, free: 2.895 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.000721/0.8238, allocations: 319.2 kB / 1.39 GB, free: 2.582 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.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 (91): * Single equations (assignments): 85 * 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.001222/0.825, allocations: 0.599 MB / 1.39 GB, free: 2.16 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.00151/0.8265, allocations: 0.8313 MB / 1.391 GB, free: 1.32 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 5.009e-06/0.8266, allocations: 4 kB / 1.391 GB, free: 1.316 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.0008412/0.8274, allocations: 0.5159 MB / 1.392 GB, free: 0.7891 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001094/0.8285, allocations: 299.2 kB / 1.392 GB, free: 0.5195 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002518/0.831, allocations: 1.663 MB / 1.393 GB, free: 14.81 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005162/0.8316, allocations: 1.012 MB / 1.394 GB, free: 13.77 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000299/0.8319, allocations: 123.4 kB / 1.395 GB, free: 13.66 MB / 1.123 GB Notification: Performance of SimCode: time 3.9e-07/0.8319, allocations: 3.938 kB / 1.395 GB, free: 13.65 MB / 1.123 GB Notification: Performance of Templates: time 0.02075/0.8526, allocations: 18.49 MB / 1.413 GB, free: 11.24 MB / 1.139 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.sim & ./Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,HDifTilIso.HSkyDifTil,HDifTilIso.HGroDifTil Variables in the result:HDifTilIso.HGroDifTil,HDifTilIso.HSkyDifTil,time