Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001655/0.001655, allocations: 116.8 kB / 17.93 MB, free: 3.938 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001904/0.001904, allocations: 193.6 kB / 21.18 MB, free: 0.6992 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.447/1.447, allocations: 225.6 MB / 249.9 MB, free: 13.37 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.69/2.69, allocations: 476.7 MB / 0.7634 GB, free: 10.89 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.Examples.DiffuseIsotropic,fileNamePrefix="Buildings_11_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic,fileNamePrefix="Buildings_11_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00218/0.00218, allocations: 63.89 kB / 1.108 GB, free: 7.445 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7372/0.7394, allocations: 168.7 MB / 1.272 GB, free: 4.418 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic): time 0.008324/0.7477, allocations: 6.017 MB / 1.278 GB, free: 14.38 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.1745/0.9222, allocations: 151.4 MB / 1.426 GB, free: 6.379 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001011/0.9232, allocations: 19.88 kB / 1.426 GB, free: 6.359 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.0008874/0.9241, allocations: 241.6 kB / 1.426 GB, free: 6.121 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.002258/0.9263, allocations: 0.6337 MB / 1.427 GB, free: 5.488 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.002275/0.9286, allocations: 0.8991 MB / 1.428 GB, free: 4.594 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.002244/0.9309, allocations: 1.65 MB / 1.429 GB, free: 2.938 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001127/0.932, allocations: 0.593 MB / 1.43 GB, free: 2.316 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009614/0.9329, allocations: 0.619 MB / 1.431 GB, free: 1.695 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008452/0.9338, allocations: 0.6651 MB / 1.431 GB, free: 1.027 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0002194/0.934, allocations: 152 kB / 1.431 GB, free: 0.8789 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001076/0.9351, allocations: 0.5113 MB / 1.432 GB, free: 376 kB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0003546/0.9354, allocations: 374.8 kB / 1.432 GB, free: 0 / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0007361/0.9362, allocations: 0.7424 MB / 1.433 GB, free: 15.25 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.002677/0.9389, allocations: 2.039 MB / 1.435 GB, free: 13.21 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 4.329e-06/0.9389, allocations: 7.938 kB / 1.435 GB, free: 13.2 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.693e-06/0.9389, allocations: 0 / 1.435 GB, free: 13.2 MB / 1.139 GB Notification: Performance of Transformations before backend: time 1.975e-05/0.9389, allocations: 4 kB / 1.435 GB, free: 13.2 MB / 1.139 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 305 * Number of variables: 305 Notification: Performance of Generate backend data structure: time 0.003046/0.9419, allocations: 1.757 MB / 1.437 GB, free: 11.38 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.78e-05/0.942, allocations: 8.031 kB / 1.437 GB, free: 11.37 MB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002256/0.9422, allocations: 189.8 kB / 1.437 GB, free: 11.18 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009721/0.9432, allocations: 223.9 kB / 1.437 GB, free: 10.96 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001337/0.9445, allocations: 0.8799 MB / 1.438 GB, free: 10.03 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.48e-05/0.9446, allocations: 86.41 kB / 1.438 GB, free: 9.945 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001529/0.9447, allocations: 116 kB / 1.438 GB, free: 9.832 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002008/0.9467, allocations: 1.206 MB / 1.439 GB, free: 8.562 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.227e-05/0.9468, allocations: 0 / 1.439 GB, free: 8.562 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001043/0.9469, allocations: 55.94 kB / 1.439 GB, free: 8.508 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.164e-05/0.9469, allocations: 28 kB / 1.439 GB, free: 8.48 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002103/0.949, allocations: 1.285 MB / 1.441 GB, free: 7.188 MB / 1.139 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.005138/0.9541, allocations: 3.559 MB / 1.444 GB, free: 3.457 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001581/0.9557, allocations: 0.812 MB / 1.445 GB, free: 2.637 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005476/0.9563, allocations: 294.7 kB / 1.445 GB, free: 2.344 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 7.471e-05/0.9563, allocations: 28.61 kB / 1.445 GB, free: 2.316 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009195/0.9573, allocations: 0.5213 MB / 1.446 GB, free: 1.781 MB / 1.139 GB Notification: Performance of pre-optimization done (n=87): time 2.345e-06/0.9573, allocations: 0 / 1.446 GB, free: 1.781 MB / 1.139 GB Notification: Performance of matching and sorting (n=87): time 0.003479/0.9607, allocations: 1.29 MB / 1.447 GB, free: 480 kB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001241/0.9609, allocations: 192.9 kB / 1.447 GB, free: 240 kB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001004/0.9619, allocations: 0.7353 MB / 1.448 GB, free: 15.48 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 6.954e-05/0.9619, allocations: 41.7 kB / 1.448 GB, free: 15.44 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004566/0.9624, allocations: 0.532 MB / 1.448 GB, free: 14.9 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.000269/0.9627, allocations: 297.5 kB / 1.449 GB, free: 14.61 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002495/0.9629, allocations: 154.6 kB / 1.449 GB, free: 14.45 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001627/0.9631, allocations: 341.9 kB / 1.449 GB, free: 14.11 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005364/0.9636, allocations: 270 kB / 1.449 GB, free: 13.85 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006562/0.9643, allocations: 390.5 kB / 1.45 GB, free: 13.44 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001148/0.9654, allocations: 0.632 MB / 1.45 GB, free: 12.8 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/0.9654, allocations: 0 / 1.45 GB, free: 12.8 MB / 1.154 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002037/0.9675, allocations: 0.8803 MB / 1.451 GB, free: 11.9 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.579e-05/0.9675, allocations: 7.938 kB / 1.451 GB, free: 11.89 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.787e-06/0.9675, allocations: 4 kB / 1.451 GB, free: 11.89 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006276/0.9681, allocations: 84.81 kB / 1.451 GB, free: 11.8 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007174/0.9688, allocations: 171.7 kB / 1.452 GB, free: 11.64 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002437/0.9713, allocations: 1.619 MB / 1.453 GB, free: 9.875 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008441/0.9721, allocations: 111.4 kB / 1.453 GB, free: 9.766 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.73e-05/0.9722, allocations: 27.98 kB / 1.453 GB, free: 9.738 MB / 1.154 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 (96): * Single equations (assignments): 95 * 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.0005485/0.9727, allocations: 303.9 kB / 1.454 GB, free: 9.434 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001873/0.9729, allocations: 99.34 kB / 1.454 GB, free: 9.336 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002532/0.9755, allocations: 1.122 MB / 1.455 GB, free: 8.199 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.25e-05/0.9755, allocations: 12 kB / 1.455 GB, free: 8.188 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.768e-06/0.9755, allocations: 0 / 1.455 GB, free: 8.188 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.835e-05/0.9755, allocations: 7.969 kB / 1.455 GB, free: 8.18 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001358/0.9768, allocations: 1.06 MB / 1.456 GB, free: 7.07 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/0.9769, allocations: 0 / 1.456 GB, free: 7.07 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000645/0.9775, allocations: 155.7 kB / 1.456 GB, free: 6.918 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004462/0.9779, allocations: 76.78 kB / 1.456 GB, free: 6.84 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.83e-05/0.978, allocations: 27.92 kB / 1.456 GB, free: 6.812 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002012/0.98, allocations: 1.659 MB / 1.458 GB, free: 5.008 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.98, allocations: 0 / 1.458 GB, free: 5.008 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002083/0.9821, allocations: 0.9868 MB / 1.459 GB, free: 3.996 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004257/0.9825, allocations: 292.1 kB / 1.459 GB, free: 3.691 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001335/0.9827, allocations: 31.98 kB / 1.459 GB, free: 3.66 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006275/0.9833, allocations: 62.06 kB / 1.459 GB, free: 3.602 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001534/0.9834, allocations: 76.89 kB / 1.459 GB, free: 3.527 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.989e-05/0.9835, allocations: 31.98 kB / 1.459 GB, free: 3.496 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0006892/0.9842, allocations: 0.5185 MB / 1.46 GB, free: 2.98 MB / 1.154 GB Notification: Performance of sort global known variables: time 6e-08/0.9842, allocations: 0 / 1.46 GB, free: 2.98 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0009102/0.9851, allocations: 398.8 kB / 1.46 GB, free: 2.59 MB / 1.154 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 (98): * Single equations (assignments): 92 * 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.0041/0.9892, allocations: 2.042 MB / 1.462 GB, free: 0.707 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.001735/0.9909, allocations: 0.8274 MB / 1.463 GB, free: 15.87 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.9909, allocations: 0 / 1.463 GB, free: 15.87 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.0009373/0.9919, allocations: 0.5002 MB / 1.463 GB, free: 15.36 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001167/0.993, allocations: 341.2 kB / 1.464 GB, free: 15.04 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01148/1.005, allocations: 7.085 MB / 1.471 GB, free: 7.801 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000842/1.005, allocations: 1.109 MB / 1.472 GB, free: 6.664 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.0009186/1.006, allocations: 299.6 kB / 1.472 GB, free: 6.367 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007131/1.007, allocations: 487.2 kB / 1.472 GB, free: 5.891 MB / 1.17 GB Notification: Performance of SimCode: time 7.81e-07/1.007, allocations: 0 / 1.472 GB, free: 5.891 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06156/1.069, allocations: 24.33 MB / 1.496 GB, free: 13.81 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.15/14.22, allocations: 7.984 kB / 1.496 GB, free: 13.8 MB / 1.201 GB " [Timeout remaining time 286] (rm -f Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic_res.mat --tempDir=temp_Buildings_11_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic_fmu --startTime=1.82304e+07 --stopTime=1.83168e+07 --stepSize=34.56 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic.fmu > Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 20.345769611070864]