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.004905/0.004905, allocations: 99.66 kB / 15.73 MB, free: 6.477 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.001127/0.001127, allocations: 189.9 kB / 16.67 MB, free: 6.391 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.303/1.303, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.597/2.597, allocations: 461.9 MB / 0.7348 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001402/0.001403, allocations: 71.89 kB / 1.054 GB, free: 7.695 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2694/0.2708, allocations: 157.4 MB / 1.207 GB, free: 10.2 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic): time 0.006258/0.2771, allocations: 4.85 MB / 1.212 GB, free: 5.32 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.8331/1.11, allocations: 150.6 MB / 1.359 GB, free: 9.449 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001081/1.111, allocations: 14.78 kB / 1.359 GB, free: 9.445 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0009259/1.112, allocations: 189.7 kB / 1.359 GB, free: 9.324 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.002443/1.115, allocations: 0.5363 MB / 1.36 GB, free: 9.02 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.002603/1.117, allocations: 0.8277 MB / 1.361 GB, free: 8.59 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.002293/1.12, allocations: 1.383 MB / 1.362 GB, free: 7.875 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001254/1.121, allocations: 0.5807 MB / 1.363 GB, free: 7.566 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00112/1.122, allocations: 483.5 kB / 1.363 GB, free: 7.332 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001108/1.123, allocations: 0.4939 MB / 1.363 GB, free: 7.074 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0004067/1.124, allocations: 114.3 kB / 1.364 GB, free: 7.074 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001575/1.125, allocations: 487.8 kB / 1.364 GB, free: 6.961 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0005872/1.126, allocations: 292.5 kB / 1.364 GB, free: 6.777 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.001331/1.127, allocations: 0.5601 MB / 1.365 GB, free: 6.402 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.003434/1.131, allocations: 1.614 MB / 1.366 GB, free: 5.723 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 6.852e-06/1.131, allocations: 4.234 kB / 1.366 GB, free: 5.723 MB / 1.061 GB Notification: Performance of FrontEnd: time 4.538e-06/1.131, allocations: 3.75 kB / 1.366 GB, free: 5.723 MB / 1.061 GB Notification: Performance of Transformations before backend: time 7.31e-05/1.131, allocations: 3.938 kB / 1.366 GB, free: 5.719 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.004516/1.135, allocations: 1.424 MB / 1.368 GB, free: 4.75 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.501e-05/1.135, allocations: 13.97 kB / 1.368 GB, free: 4.746 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003498/1.136, allocations: 143.3 kB / 1.368 GB, free: 4.648 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001289/1.137, allocations: 179.9 kB / 1.368 GB, free: 4.59 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001904/1.139, allocations: 0.7617 MB / 1.369 GB, free: 4.098 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001046/1.139, allocations: 60.69 kB / 1.369 GB, free: 4.07 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001699/1.139, allocations: 85.34 kB / 1.369 GB, free: 4.039 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00208/1.141, allocations: 0.911 MB / 1.37 GB, free: 3.621 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.401e-05/1.141, allocations: 4 kB / 1.37 GB, free: 3.617 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001237/1.142, allocations: 36.38 kB / 1.37 GB, free: 3.59 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.339e-05/1.142, allocations: 21.22 kB / 1.37 GB, free: 3.59 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002048/1.144, allocations: 1.104 MB / 1.371 GB, free: 3.336 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.005184/1.149, allocations: 2.67 MB / 1.374 GB, free: 1.207 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001824/1.151, allocations: 0.795 MB / 1.374 GB, free: 0.8125 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006426/1.151, allocations: 300.3 kB / 1.375 GB, free: 0.6602 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 8.829e-05/1.151, allocations: 35.48 kB / 1.375 GB, free: 0.6406 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009912/1.152, allocations: 499.3 kB / 1.375 GB, free: 332 kB / 1.061 GB Notification: Performance of pre-optimization done (n=80): time 5.5e-06/1.152, allocations: 0 / 1.375 GB, free: 332 kB / 1.061 GB Notification: Performance of matching and sorting (n=80): time 0.003721/1.156, allocations: 1.186 MB / 1.376 GB, free: 15.68 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001251/1.156, allocations: 189.3 kB / 1.377 GB, free: 15.46 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001219/1.158, allocations: 0.6379 MB / 1.377 GB, free: 15.09 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.0001234/1.158, allocations: 42.39 kB / 1.377 GB, free: 15.04 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004373/1.158, allocations: 396.5 kB / 1.378 GB, free: 14.7 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002886/1.158, allocations: 255.8 kB / 1.378 GB, free: 14.47 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000305/1.159, allocations: 147.9 kB / 1.378 GB, free: 14.38 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.000238/1.159, allocations: 389.2 kB / 1.378 GB, free: 14.01 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006073/1.16, allocations: 249.9 kB / 1.379 GB, free: 13.89 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007188/1.16, allocations: 359.2 kB / 1.379 GB, free: 13.66 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0013/1.162, allocations: 0.5841 MB / 1.38 GB, free: 13.34 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.023e-06/1.162, allocations: 2.25 kB / 1.38 GB, free: 13.34 MB / 1.076 GB Notification: Performance of matching and sorting (n=89) (initialization): time 0.002402/1.164, allocations: 0.8021 MB / 1.38 GB, free: 12.93 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.982e-05/1.164, allocations: 5.844 kB / 1.38 GB, free: 12.93 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.759e-06/1.164, allocations: 4.875 kB / 1.38 GB, free: 12.93 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006826/1.165, allocations: 83.86 kB / 1.38 GB, free: 12.88 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000703/1.166, allocations: 148.2 kB / 1.381 GB, free: 12.85 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002435/1.168, allocations: 1.638 MB / 1.382 GB, free: 11.24 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008461/1.169, allocations: 87.02 kB / 1.382 GB, free: 11.19 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.76e-05/1.169, allocations: 38.59 kB / 1.382 GB, free: 11.17 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: 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.0005576/1.17, allocations: 274.7 kB / 1.383 GB, free: 10.95 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002713/1.17, allocations: 82.25 kB / 1.383 GB, free: 10.91 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002722/1.173, allocations: 1.06 MB / 1.384 GB, free: 10.32 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.198e-05/1.173, allocations: 9.188 kB / 1.384 GB, free: 10.32 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/1.173, allocations: 1.031 kB / 1.384 GB, free: 10.32 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.618e-05/1.173, allocations: 7.922 kB / 1.384 GB, free: 10.31 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001642/1.174, allocations: 0.8819 MB / 1.385 GB, free: 9.641 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-05/1.174, allocations: 9.344 kB / 1.385 GB, free: 9.633 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006213/1.175, allocations: 141.8 kB / 1.385 GB, free: 9.602 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004928/1.175, allocations: 69.91 kB / 1.385 GB, free: 9.566 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.396e-05/1.176, allocations: 32.22 kB / 1.385 GB, free: 9.543 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002243/1.178, allocations: 1.657 MB / 1.386 GB, free: 7.93 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/1.178, allocations: 0 / 1.386 GB, free: 7.93 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002307/1.18, allocations: 0.9229 MB / 1.387 GB, free: 7.434 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005467/1.181, allocations: 278.8 kB / 1.388 GB, free: 7.188 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002301/1.181, allocations: 17.03 kB / 1.388 GB, free: 7.176 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007504/1.182, allocations: 63.97 kB / 1.388 GB, free: 7.145 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002123/1.182, allocations: 69.14 kB / 1.388 GB, free: 7.109 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.424e-05/1.182, allocations: 35.05 kB / 1.388 GB, free: 7.098 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.000759/1.183, allocations: 461.1 kB / 1.388 GB, free: 6.832 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.5e-07/1.183, allocations: 4 kB / 1.388 GB, free: 6.828 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.001198/1.184, allocations: 316.1 kB / 1.388 GB, free: 6.738 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.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.004092/1.188, allocations: 1.98 MB / 1.39 GB, free: 5.52 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001829/1.19, allocations: 0.7945 MB / 1.391 GB, free: 5.102 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 3.516e-06/1.19, allocations: 0 / 1.391 GB, free: 5.102 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0009163/1.191, allocations: 0.5218 MB / 1.392 GB, free: 4.801 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001336/1.192, allocations: 308 kB / 1.392 GB, free: 4.652 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01178/1.204, allocations: 6.108 MB / 1.398 GB, free: 0.9375 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008109/1.205, allocations: 1.021 MB / 1.399 GB, free: 100 kB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.001013/1.206, allocations: 267.6 kB / 1.399 GB, free: 15.96 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006011/1.206, allocations: 377.8 kB / 1.4 GB, free: 15.66 MB / 1.092 GB Notification: Performance of SimCode: time 1.934e-06/1.207, allocations: 0 / 1.4 GB, free: 15.66 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05591/1.262, allocations: 21.91 MB / 1.421 GB, free: 11.92 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.61/13.88, allocations: 13.5 kB / 1.421 GB, free: 11.91 MB / 1.107 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