Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001397/0.001397, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001487/0.001487, allocations: 211.7 kB / 22.24 MB, free: 5.258 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.435/1.435, allocations: 230.6 MB / 256 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.156/3.156, allocations: 0.5107 GB / 0.8158 GB, free: 17.8 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002034/0.002034, allocations: 71.84 kB / 1.186 GB, free: 13.73 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.339/0.341, allocations: 181.9 MB / 1.363 GB, free: 14.12 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.00725/0.3482, allocations: 4.678 MB / 1.368 GB, free: 9.414 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.164/0.5122, allocations: 132.8 MB / 1.498 GB, free: 4.113 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009069/0.5131, allocations: 23.81 kB / 1.498 GB, free: 4.09 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.0006568/0.5138, allocations: 206.1 kB / 1.498 GB, free: 3.887 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.001796/0.5156, allocations: 0.5988 MB / 1.498 GB, free: 3.289 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.002098/0.5177, allocations: 0.8852 MB / 1.499 GB, free: 2.41 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.001725/0.5194, allocations: 1.483 MB / 1.501 GB, free: 0.9219 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007687/0.5202, allocations: 448.6 kB / 1.501 GB, free: 472 kB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007834/0.521, allocations: 0.5373 MB / 1.502 GB, free: 15.92 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006545/0.5216, allocations: 0.5015 MB / 1.502 GB, free: 15.42 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0001851/0.5218, allocations: 128 kB / 1.502 GB, free: 15.29 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001086/0.5229, allocations: 0.5113 MB / 1.503 GB, free: 14.78 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0003592/0.5232, allocations: 330.9 kB / 1.503 GB, free: 14.46 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0005232/0.5238, allocations: 0.4937 MB / 1.504 GB, free: 13.96 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.002461/0.5262, allocations: 1.817 MB / 1.505 GB, free: 12.14 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.5262, allocations: 0 / 1.505 GB, free: 12.14 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.954e-06/0.5262, allocations: 4 kB / 1.505 GB, free: 12.13 MB / 1.201 GB Notification: Performance of Transformations before backend: time 2.218e-05/0.5262, allocations: 0 / 1.505 GB, free: 12.13 MB / 1.201 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 241 * Number of variables: 241 Notification: Performance of Generate backend data structure: time 0.002677/0.5289, allocations: 1.493 MB / 1.507 GB, free: 10.6 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.259e-05/0.529, allocations: 8.031 kB / 1.507 GB, free: 10.59 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001766/0.5291, allocations: 152.2 kB / 1.507 GB, free: 10.44 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01122/0.5404, allocations: 1.799 MB / 1.509 GB, free: 8.637 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001697/0.5421, allocations: 0.7647 MB / 1.509 GB, free: 7.848 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.814e-05/0.5421, allocations: 70 kB / 1.51 GB, free: 7.777 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001678/0.5423, allocations: 96 kB / 1.51 GB, free: 7.684 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006285/0.5486, allocations: 2.126 MB / 1.512 GB, free: 5.457 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.358e-05/0.5486, allocations: 0 / 1.512 GB, free: 5.457 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001155/0.5487, allocations: 47.98 kB / 1.512 GB, free: 5.41 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.875e-05/0.5488, allocations: 24 kB / 1.512 GB, free: 5.387 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01027/0.559, allocations: 2.748 MB / 1.514 GB, free: 2.637 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01009/0.5691, allocations: 4.682 MB / 1.519 GB, free: 13.27 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005906/0.575, allocations: 1.595 MB / 1.521 GB, free: 11.67 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004832/0.5799, allocations: 1.103 MB / 1.522 GB, free: 10.56 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001122/0.58, allocations: 20.64 kB / 1.522 GB, free: 10.54 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005326/0.5853, allocations: 1.462 MB / 1.523 GB, free: 9.039 MB / 1.217 GB Notification: Performance of pre-optimization done (n=82): time 3.136e-06/0.5853, allocations: 0 / 1.523 GB, free: 9.039 MB / 1.217 GB Notification: Performance of matching and sorting (n=82): time 0.01572/0.601, allocations: 3.476 MB / 1.527 GB, free: 5.551 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001335/0.6012, allocations: 188.6 kB / 1.527 GB, free: 5.324 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001035/0.6022, allocations: 0.6685 MB / 1.527 GB, free: 4.645 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 0.0001549/0.6023, allocations: 45.7 kB / 1.527 GB, free: 4.594 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005094/0.6029, allocations: 437 kB / 1.528 GB, free: 4.16 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004472/0.6033, allocations: 277.7 kB / 1.528 GB, free: 3.887 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005264/0.6038, allocations: 158.6 kB / 1.528 GB, free: 3.723 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0002975/0.6041, allocations: 390.8 kB / 1.529 GB, free: 3.332 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007526/0.6117, allocations: 1.056 MB / 1.53 GB, free: 2.277 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007247/0.6189, allocations: 1.307 MB / 1.531 GB, free: 0.918 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01308/0.632, allocations: 1.966 MB / 1.533 GB, free: 14.94 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-05/0.632, allocations: 0 / 1.533 GB, free: 14.94 MB / 1.232 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.01493/0.6469, allocations: 2.332 MB / 1.535 GB, free: 12.59 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 2.747e-05/0.6469, allocations: 8 kB / 1.535 GB, free: 12.59 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.866e-06/0.647, allocations: 0 / 1.535 GB, free: 12.59 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005982/0.6476, allocations: 80.88 kB / 1.535 GB, free: 12.5 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002709/0.6503, allocations: 483.4 kB / 1.536 GB, free: 12.03 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002377/0.6526, allocations: 1.523 MB / 1.537 GB, free: 10.39 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003591/0.6562, allocations: 415.2 kB / 1.538 GB, free: 9.98 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001543/0.6564, allocations: 35.97 kB / 1.538 GB, free: 9.945 MB / 1.232 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 (88): * Single equations (assignments): 87 * 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.0007842/0.6572, allocations: 265.7 kB / 1.538 GB, free: 9.676 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003754/0.6575, allocations: 91.44 kB / 1.538 GB, free: 9.586 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01401/0.6716, allocations: 2.658 MB / 1.541 GB, free: 6.91 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.489e-05/0.6716, allocations: 8 kB / 1.541 GB, free: 6.902 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.209e-06/0.6716, allocations: 4 kB / 1.541 GB, free: 6.898 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.61e-05/0.6716, allocations: 7.922 kB / 1.541 GB, free: 6.891 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01297/0.6846, allocations: 4.227 MB / 1.545 GB, free: 2.301 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.781e-06/0.6846, allocations: 0 / 1.545 GB, free: 2.301 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002625/0.6872, allocations: 475.4 kB / 1.545 GB, free: 1.836 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004691/0.6877, allocations: 72.78 kB / 1.545 GB, free: 1.762 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.939e-05/0.6878, allocations: 31.97 kB / 1.545 GB, free: 1.73 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002265/0.69, allocations: 1.547 MB / 1.547 GB, free: 60 kB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.967e-06/0.69, allocations: 3.984 kB / 1.547 GB, free: 56 kB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01031/0.7003, allocations: 2.528 MB / 1.549 GB, free: 13.51 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008716/0.7012, allocations: 227 kB / 1.549 GB, free: 13.29 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002031/0.7014, allocations: 27.94 kB / 1.549 GB, free: 13.26 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00256/0.704, allocations: 382 kB / 1.55 GB, free: 12.89 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002088/0.7042, allocations: 80.78 kB / 1.55 GB, free: 12.8 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001075/0.7043, allocations: 43.95 kB / 1.55 GB, free: 12.76 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.0008175/0.7051, allocations: 483 kB / 1.55 GB, free: 12.3 MB / 1.248 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7051, allocations: 0 / 1.55 GB, free: 12.3 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.001114/0.7062, allocations: 375.1 kB / 1.551 GB, free: 11.93 MB / 1.248 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.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (93): * Single equations (assignments): 87 * 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.01273/0.7189, allocations: 3.611 MB / 1.554 GB, free: 8.496 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.01041/0.7294, allocations: 2.412 MB / 1.557 GB, free: 6.07 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 7.174e-06/0.7294, allocations: 8 kB / 1.557 GB, free: 6.062 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.005352/0.7347, allocations: 1.312 MB / 1.558 GB, free: 4.742 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001498/0.7362, allocations: 313.2 kB / 1.558 GB, free: 4.457 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0387/0.7749, allocations: 11.3 MB / 1.569 GB, free: 9.008 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005743/0.7755, allocations: 461.6 kB / 1.57 GB, free: 8.527 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.001358/0.7768, allocations: 318.9 kB / 1.57 GB, free: 8.211 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008152/0.7777, allocations: 427.2 kB / 1.57 GB, free: 7.793 MB / 1.264 GB Notification: Performance of SimCode: time 1.092e-06/0.7777, allocations: 3.938 kB / 1.57 GB, free: 7.789 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07603/0.8537, allocations: 26.71 MB / 1.596 GB, free: 13.39 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.93/14.78, allocations: 0 / 1.596 GB, free: 13.39 MB / 1.295 GB " [Timeout remaining time 285] (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness_fmu --startTime=100000 --stopTime=3e+06 --stepSize=1160 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness.fmu > Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.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: 22.12813288299367]