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: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009047/0.009047, allocations: 100.8 kB / 15.73 MB, free: 5.586 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.002123/0.002122, allocations: 195.3 kB / 16.67 MB, free: 5.523 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.35/1.35, allocations: 222.9 MB / 240.4 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.539/2.539, allocations: 461.9 MB / 0.7348 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001402/0.001402, allocations: 63.89 kB / 1.054 GB, free: 8.211 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8234/0.8248, allocations: 157.4 MB / 1.207 GB, free: 13.54 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic): time 0.007132/0.832, allocations: 4.837 MB / 1.212 GB, free: 8.68 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.1574/0.9894, allocations: 150.6 MB / 1.359 GB, free: 1.484 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009616/0.9904, allocations: 15.94 kB / 1.359 GB, free: 1.469 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0008062/0.9912, allocations: 186.2 kB / 1.359 GB, free: 1.285 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.002244/0.9935, allocations: 0.543 MB / 1.36 GB, free: 0.7422 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.002417/0.9959, allocations: 0.8288 MB / 1.361 GB, free: 15.92 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.002193/0.9981, allocations: 1.382 MB / 1.362 GB, free: 14.53 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001161/0.9993, allocations: 0.5831 MB / 1.363 GB, free: 13.93 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009393/1, allocations: 486.3 kB / 1.363 GB, free: 13.45 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008775/1.001, allocations: 0.494 MB / 1.363 GB, free: 12.96 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0003738/1.002, allocations: 116 kB / 1.364 GB, free: 12.84 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001218/1.003, allocations: 479.6 kB / 1.364 GB, free: 12.38 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0003636/1.003, allocations: 299 kB / 1.364 GB, free: 12.08 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0007421/1.004, allocations: 0.5519 MB / 1.365 GB, free: 11.53 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.002491/1.006, allocations: 1.624 MB / 1.366 GB, free: 9.898 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/1.006, allocations: 4 kB / 1.366 GB, free: 9.895 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.482e-06/1.006, allocations: 0 / 1.366 GB, free: 9.895 MB / 1.092 GB Notification: Performance of Transformations before backend: time 5.132e-05/1.006, allocations: 0 / 1.366 GB, free: 9.895 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.003208/1.01, allocations: 1.426 MB / 1.368 GB, free: 8.414 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 6.901e-05/1.01, allocations: 12.03 kB / 1.368 GB, free: 8.402 MB / 1.092 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002032/1.01, allocations: 135.3 kB / 1.368 GB, free: 8.262 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009671/1.011, allocations: 191.4 kB / 1.368 GB, free: 8.074 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00134/1.012, allocations: 0.7615 MB / 1.369 GB, free: 7.273 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.568e-05/1.012, allocations: 58 kB / 1.369 GB, free: 7.215 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001257/1.013, allocations: 83.98 kB / 1.369 GB, free: 7.133 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001616/1.014, allocations: 0.9105 MB / 1.37 GB, free: 6.184 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.974e-05/1.014, allocations: 4 kB / 1.37 GB, free: 6.18 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.019e-05/1.014, allocations: 36 kB / 1.37 GB, free: 6.145 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.945e-05/1.014, allocations: 20 kB / 1.37 GB, free: 6.125 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001773/1.016, allocations: 1.108 MB / 1.371 GB, free: 5.016 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.004248/1.02, allocations: 2.673 MB / 1.374 GB, free: 2.227 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00149/1.022, allocations: 0.7979 MB / 1.374 GB, free: 1.422 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005092/1.022, allocations: 298.6 kB / 1.375 GB, free: 1.125 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 9.311e-05/1.022, allocations: 40.61 kB / 1.375 GB, free: 1.086 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001087/1.024, allocations: 495.1 kB / 1.375 GB, free: 0.582 MB / 1.092 GB Notification: Performance of pre-optimization done (n=80): time 2.485e-06/1.024, allocations: 0 / 1.375 GB, free: 0.582 MB / 1.092 GB Notification: Performance of matching and sorting (n=80): time 0.003195/1.027, allocations: 1.19 MB / 1.376 GB, free: 15.37 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001034/1.027, allocations: 192.6 kB / 1.377 GB, free: 15.14 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008653/1.028, allocations: 0.6293 MB / 1.377 GB, free: 14.5 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 7.961e-05/1.028, allocations: 45.64 kB / 1.377 GB, free: 14.45 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003195/1.028, allocations: 388.3 kB / 1.378 GB, free: 14.06 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002387/1.028, allocations: 264.3 kB / 1.378 GB, free: 13.8 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002345/1.029, allocations: 150.5 kB / 1.378 GB, free: 13.64 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001676/1.029, allocations: 394.7 kB / 1.378 GB, free: 13.25 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004901/1.029, allocations: 237.9 kB / 1.379 GB, free: 13.02 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006307/1.03, allocations: 366.5 kB / 1.379 GB, free: 12.63 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001065/1.031, allocations: 0.5799 MB / 1.38 GB, free: 12.04 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/1.031, allocations: 0 / 1.38 GB, free: 12.04 MB / 1.107 GB Notification: Performance of matching and sorting (n=89) (initialization): time 0.001915/1.033, allocations: 0.798 MB / 1.38 GB, free: 11.23 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 2.351e-05/1.033, allocations: 8.094 kB / 1.38 GB, free: 11.22 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.087e-06/1.033, allocations: 4 kB / 1.38 GB, free: 11.22 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005979/1.034, allocations: 84.7 kB / 1.38 GB, free: 11.13 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006457/1.034, allocations: 155.8 kB / 1.381 GB, free: 10.98 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002116/1.036, allocations: 1.633 MB / 1.382 GB, free: 9.207 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007647/1.037, allocations: 85.2 kB / 1.382 GB, free: 9.125 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.609e-05/1.037, allocations: 31.98 kB / 1.382 GB, free: 9.094 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: 15 (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 (87): * Single equations (assignments): 86 * 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.0005168/1.038, allocations: 269.5 kB / 1.383 GB, free: 8.82 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002088/1.038, allocations: 82.97 kB / 1.383 GB, free: 8.738 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002355/1.04, allocations: 1.073 MB / 1.384 GB, free: 7.648 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.257e-06/1.04, allocations: 8.094 kB / 1.384 GB, free: 7.641 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/1.04, allocations: 3.938 kB / 1.384 GB, free: 7.637 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.497e-05/1.04, allocations: 11.97 kB / 1.384 GB, free: 7.625 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001119/1.042, allocations: 0.8879 MB / 1.385 GB, free: 6.688 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.92e-06/1.042, allocations: 0 / 1.385 GB, free: 6.688 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005855/1.042, allocations: 147.7 kB / 1.385 GB, free: 6.543 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004492/1.043, allocations: 76.78 kB / 1.385 GB, free: 6.465 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.648e-05/1.043, allocations: 19.98 kB / 1.385 GB, free: 6.445 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001867/1.045, allocations: 1.666 MB / 1.386 GB, free: 4.633 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/1.045, allocations: 0 / 1.386 GB, free: 4.633 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002052/1.047, allocations: 0.92 MB / 1.387 GB, free: 3.691 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004565/1.047, allocations: 267.7 kB / 1.388 GB, free: 3.41 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001399/1.047, allocations: 27.98 kB / 1.388 GB, free: 3.383 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006191/1.048, allocations: 64 kB / 1.388 GB, free: 3.32 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001494/1.048, allocations: 72.84 kB / 1.388 GB, free: 3.246 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.22e-05/1.048, allocations: 35.97 kB / 1.388 GB, free: 3.211 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.0005953/1.049, allocations: 459 kB / 1.388 GB, free: 2.766 MB / 1.107 GB Notification: Performance of sort global known variables: time 1.9e-07/1.049, allocations: 0 / 1.388 GB, free: 2.766 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.0008271/1.05, allocations: 311.3 kB / 1.388 GB, free: 2.461 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.003468/1.053, allocations: 1.978 MB / 1.39 GB, free: 0.6367 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.001705/1.055, allocations: 0.8041 MB / 1.391 GB, free: 15.82 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/1.055, allocations: 0 / 1.391 GB, free: 15.82 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.000911/1.056, allocations: 0.5196 MB / 1.392 GB, free: 15.29 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001293/1.057, allocations: 296.2 kB / 1.392 GB, free: 15.02 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01006/1.067, allocations: 6.109 MB / 1.398 GB, free: 8.805 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006899/1.068, allocations: 1.016 MB / 1.399 GB, free: 7.758 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.0008562/1.069, allocations: 266.7 kB / 1.399 GB, free: 7.492 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005847/1.069, allocations: 375.3 kB / 1.4 GB, free: 7.129 MB / 1.123 GB Notification: Performance of SimCode: time 9.22e-07/1.069, allocations: 0 / 1.4 GB, free: 7.129 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05278/1.122, allocations: 21.93 MB / 1.421 GB, free: 1.57 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.65/13.77, allocations: 10.62 kB / 1.421 GB, free: 1.566 MB / 1.139 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic.fmu > 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) Reference file matches