Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic,fileNamePrefix="Buildings_10_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.006375/0.006375, allocations: 99.81 kB / 15.73 MB, free: 6.062 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.001509/0.001509, allocations: 195.1 kB / 16.67 MB, free: 5.973 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.299/1.299, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.37/2.37, allocations: 437 MB / 0.7105 GB, free: 4.371 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001268/0.001268, allocations: 67.89 kB / 1.018 GB, free: 9.949 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6509/0.6521, allocations: 151.6 MB / 1.166 GB, free: 3.836 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic): time 0.005821/0.658, allocations: 4.858 MB / 1.171 GB, free: 14.95 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.1448/0.8028, allocations: 150.6 MB / 1.318 GB, free: 7.766 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006774/0.8035, allocations: 19.88 kB / 1.318 GB, free: 7.746 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0006422/0.8042, allocations: 190.2 kB / 1.318 GB, free: 7.559 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.001721/0.806, allocations: 0.5527 MB / 1.319 GB, free: 7.008 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.001875/0.8078, allocations: 0.8293 MB / 1.319 GB, free: 6.184 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.001478/0.8093, allocations: 1.382 MB / 1.321 GB, free: 4.793 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008459/0.8102, allocations: 0.5802 MB / 1.321 GB, free: 4.188 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006255/0.8108, allocations: 482.4 kB / 1.322 GB, free: 3.715 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005998/0.8114, allocations: 0.4939 MB / 1.322 GB, free: 3.219 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0002221/0.8117, allocations: 120 kB / 1.322 GB, free: 3.102 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001011/0.8127, allocations: 487.6 kB / 1.323 GB, free: 2.625 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0003555/0.8131, allocations: 295 kB / 1.323 GB, free: 2.336 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.000582/0.8137, allocations: 0.5557 MB / 1.324 GB, free: 1.777 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.001836/0.8155, allocations: 1.633 MB / 1.325 GB, free: 144 kB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.8155, allocations: 0 / 1.325 GB, free: 144 kB / 1.045 GB Notification: Performance of FrontEnd: time 1.302e-06/0.8155, allocations: 0 / 1.325 GB, free: 144 kB / 1.045 GB Notification: Performance of Transformations before backend: time 3.357e-05/0.8156, allocations: 0 / 1.325 GB, free: 144 kB / 1.045 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.002638/0.8182, allocations: 1.463 MB / 1.327 GB, free: 14.62 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.535e-05/0.8183, allocations: 16.92 kB / 1.327 GB, free: 14.61 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001622/0.8184, allocations: 135.4 kB / 1.327 GB, free: 14.46 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009115/0.8193, allocations: 188.1 kB / 1.327 GB, free: 14.28 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001235/0.8206, allocations: 0.7737 MB / 1.328 GB, free: 13.46 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.828e-05/0.8207, allocations: 58 kB / 1.328 GB, free: 13.41 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001077/0.8208, allocations: 88 kB / 1.328 GB, free: 13.32 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001513/0.8223, allocations: 0.9106 MB / 1.329 GB, free: 12.37 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.096e-05/0.8223, allocations: 0 / 1.329 GB, free: 12.37 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.204e-05/0.8224, allocations: 36 kB / 1.329 GB, free: 12.34 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.394e-05/0.8224, allocations: 20 kB / 1.329 GB, free: 12.32 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001754/0.8242, allocations: 1.104 MB / 1.33 GB, free: 11.21 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.003986/0.8282, allocations: 2.686 MB / 1.333 GB, free: 8.41 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001472/0.8297, allocations: 0.7979 MB / 1.333 GB, free: 7.613 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005225/0.8302, allocations: 306.6 kB / 1.334 GB, free: 7.312 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 7.238e-05/0.8303, allocations: 36.69 kB / 1.334 GB, free: 7.277 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008443/0.8312, allocations: 491.2 kB / 1.334 GB, free: 6.777 MB / 1.061 GB Notification: Performance of pre-optimization done (n=80): time 2.575e-06/0.8312, allocations: 0 / 1.334 GB, free: 6.777 MB / 1.061 GB Notification: Performance of matching and sorting (n=80): time 0.003149/0.8343, allocations: 1.194 MB / 1.335 GB, free: 5.555 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001002/0.8344, allocations: 188.6 kB / 1.336 GB, free: 5.328 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007973/0.8353, allocations: 0.6254 MB / 1.336 GB, free: 4.695 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 7.067e-05/0.8353, allocations: 49.7 kB / 1.336 GB, free: 4.641 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003269/0.8357, allocations: 405 kB / 1.337 GB, free: 4.238 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002043/0.8359, allocations: 269.7 kB / 1.337 GB, free: 3.973 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002365/0.8361, allocations: 146.6 kB / 1.337 GB, free: 3.824 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001571/0.8363, allocations: 390.7 kB / 1.337 GB, free: 3.434 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004972/0.8368, allocations: 249.9 kB / 1.338 GB, free: 3.191 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006017/0.8374, allocations: 362.5 kB / 1.338 GB, free: 2.809 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001068/0.8385, allocations: 0.58 MB / 1.339 GB, free: 2.219 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.506e-06/0.8385, allocations: 3.938 kB / 1.339 GB, free: 2.215 MB / 1.061 GB Notification: Performance of matching and sorting (n=89) (initialization): time 0.001863/0.8404, allocations: 0.8024 MB / 1.339 GB, free: 1.398 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.826e-05/0.8404, allocations: 8 kB / 1.339 GB, free: 1.391 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.8404, allocations: 3.938 kB / 1.339 GB, free: 1.387 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005684/0.841, allocations: 88.77 kB / 1.339 GB, free: 1.297 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006129/0.8416, allocations: 151.7 kB / 1.34 GB, free: 1.148 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002125/0.8437, allocations: 1.631 MB / 1.341 GB, free: 15.37 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006668/0.8444, allocations: 87.47 kB / 1.341 GB, free: 15.29 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.397e-05/0.8445, allocations: 36.03 kB / 1.341 GB, free: 15.25 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.0004031/0.8449, allocations: 262.8 kB / 1.342 GB, free: 14.98 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001746/0.8451, allocations: 87.44 kB / 1.342 GB, free: 14.9 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002342/0.8475, allocations: 1.058 MB / 1.343 GB, free: 13.82 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.019e-05/0.8475, allocations: 12 kB / 1.343 GB, free: 13.81 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/0.8475, allocations: 3.938 kB / 1.343 GB, free: 13.8 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.047e-06/0.8475, allocations: 7.922 kB / 1.343 GB, free: 13.8 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001048/0.8486, allocations: 0.892 MB / 1.344 GB, free: 12.86 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.031e-06/0.8486, allocations: 3.984 kB / 1.344 GB, free: 12.85 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005743/0.8492, allocations: 147.8 kB / 1.344 GB, free: 12.71 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004292/0.8496, allocations: 64.8 kB / 1.344 GB, free: 12.64 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.021e-05/0.8497, allocations: 27.97 kB / 1.344 GB, free: 12.61 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001813/0.8515, allocations: 1.67 MB / 1.345 GB, free: 10.8 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.8515, allocations: 0 / 1.345 GB, free: 10.8 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001969/0.8535, allocations: 0.9283 MB / 1.346 GB, free: 9.848 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004117/0.8539, allocations: 280.2 kB / 1.347 GB, free: 9.555 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001186/0.854, allocations: 16 kB / 1.347 GB, free: 9.539 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006195/0.8547, allocations: 66.27 kB / 1.347 GB, free: 9.477 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001434/0.8548, allocations: 72.84 kB / 1.347 GB, free: 9.406 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.144e-05/0.8549, allocations: 31.98 kB / 1.347 GB, free: 9.375 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0005541/0.8555, allocations: 459 kB / 1.347 GB, free: 8.934 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.61e-07/0.8555, allocations: 4 kB / 1.347 GB, free: 8.93 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0007929/0.8563, allocations: 323.2 kB / 1.347 GB, free: 8.613 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.00345/0.8597, allocations: 1.967 MB / 1.349 GB, free: 6.781 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.00163/0.8614, allocations: 0.8038 MB / 1.35 GB, free: 5.969 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 3.586e-06/0.8614, allocations: 3.938 kB / 1.35 GB, free: 5.965 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0009084/0.8623, allocations: 0.5199 MB / 1.351 GB, free: 5.434 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001191/0.8635, allocations: 309.1 kB / 1.351 GB, free: 5.152 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009756/0.8733, allocations: 6.143 MB / 1.357 GB, free: 14.9 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005815/0.8739, allocations: 1.019 MB / 1.358 GB, free: 13.85 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0007762/0.8747, allocations: 266.6 kB / 1.358 GB, free: 13.59 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005249/0.8752, allocations: 379.3 kB / 1.359 GB, free: 13.21 MB / 1.092 GB Notification: Performance of SimCode: time 8.51e-07/0.8752, allocations: 0 / 1.359 GB, free: 13.21 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04642/0.9216, allocations: 21.51 MB / 1.38 GB, free: 7.988 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.11/13.03, allocations: 2.125 kB / 1.38 GB, free: 7.988 MB / 1.107 GB (rm -f Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic_res.csv --start-time 0 --stop-time 8.64e+06 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 3456 Buildings_10_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic.fmu > Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches