Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.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.001755/0.001755, allocations: 103.4 kB / 16.45 MB, free: 6.445 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.002131/0.002131, allocations: 187.7 kB / 19.4 MB, free: 3.66 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.426/1.426, allocations: 225.6 MB / 247.8 MB, free: 3.742 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.521/2.521, allocations: 443.5 MB / 0.7287 GB, free: 14.62 MB / 0.5762 GB " [Timeout remaining time 177] 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.RelativeAirMass,fileNamePrefix="Buildings_10_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,fileNamePrefix="Buildings_10_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00188/0.00188, allocations: 71.88 kB / 1.056 GB, free: 2.574 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.313/0.3148, allocations: 160.7 MB / 1.213 GB, free: 1.535 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.007355/0.3222, allocations: 5.156 MB / 1.218 GB, free: 12.34 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.8013/1.124, allocations: 151.1 MB / 1.366 GB, free: 3.27 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009003/1.124, allocations: 16.53 kB / 1.366 GB, free: 3.266 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0006579/1.125, allocations: 202 kB / 1.366 GB, free: 3.137 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.00204/1.127, allocations: 0.5688 MB / 1.366 GB, free: 2.809 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.002217/1.129, allocations: 0.8514 MB / 1.367 GB, free: 2.371 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.001906/1.131, allocations: 1.446 MB / 1.369 GB, free: 1.621 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008535/1.132, allocations: 466.9 kB / 1.369 GB, free: 1.34 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008961/1.133, allocations: 0.5151 MB / 1.369 GB, free: 1.082 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007001/1.134, allocations: 0.5452 MB / 1.37 GB, free: 0.793 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0001698/1.134, allocations: 127 kB / 1.37 GB, free: 0.793 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001041/1.135, allocations: 495 kB / 1.371 GB, free: 0.6758 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0003031/1.135, allocations: 324.8 kB / 1.371 GB, free: 480 kB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0005654/1.136, allocations: 0.6008 MB / 1.371 GB, free: 72 kB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.002164/1.138, allocations: 1.744 MB / 1.373 GB, free: 15.33 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/1.138, allocations: 0 / 1.373 GB, free: 15.33 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.555e-06/1.138, allocations: 1.094 kB / 1.373 GB, free: 15.33 MB / 1.061 GB Notification: Performance of Transformations before backend: time 2.106e-05/1.138, allocations: 0 / 1.373 GB, free: 15.33 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: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.00299/1.141, allocations: 1.541 MB / 1.375 GB, free: 14.28 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.971e-05/1.141, allocations: 8.75 kB / 1.375 GB, free: 14.28 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001863/1.141, allocations: 149.4 kB / 1.375 GB, free: 14.18 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001113/1.142, allocations: 217.8 kB / 1.375 GB, free: 14.11 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001303/1.144, allocations: 0.7896 MB / 1.376 GB, free: 13.59 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.643e-05/1.144, allocations: 71.28 kB / 1.376 GB, free: 13.57 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001208/1.144, allocations: 98.78 kB / 1.376 GB, free: 13.53 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00169/1.145, allocations: 1.006 MB / 1.377 GB, free: 13.08 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.296e-05/1.145, allocations: 0.6562 kB / 1.377 GB, free: 13.08 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.824e-05/1.146, allocations: 37.25 kB / 1.377 GB, free: 13.05 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.935e-05/1.146, allocations: 23.84 kB / 1.377 GB, free: 13.05 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0019/1.147, allocations: 1.175 MB / 1.378 GB, free: 12.77 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.004725/1.152, allocations: 2.863 MB / 1.381 GB, free: 10.49 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002416/1.155, allocations: 0.9311 MB / 1.382 GB, free: 9.965 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005986/1.155, allocations: 293.5 kB / 1.382 GB, free: 9.809 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 7.906e-05/1.155, allocations: 28.14 kB / 1.382 GB, free: 9.797 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000941/1.156, allocations: 0.5039 MB / 1.383 GB, free: 9.473 MB / 1.061 GB Notification: Performance of pre-optimization done (n=82): time 2.886e-06/1.156, allocations: 0.75 kB / 1.383 GB, free: 9.473 MB / 1.061 GB Notification: Performance of matching and sorting (n=82): time 0.003512/1.16, allocations: 1.224 MB / 1.384 GB, free: 8.812 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001392/1.16, allocations: 205.2 kB / 1.384 GB, free: 8.578 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009927/1.161, allocations: 0.6478 MB / 1.385 GB, free: 8.203 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 8.423e-05/1.161, allocations: 42.36 kB / 1.385 GB, free: 8.16 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003849/1.161, allocations: 429.9 kB / 1.385 GB, free: 7.785 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002539/1.162, allocations: 274.6 kB / 1.385 GB, free: 7.547 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002413/1.162, allocations: 148.7 kB / 1.386 GB, free: 7.457 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.000204/1.162, allocations: 389.1 kB / 1.386 GB, free: 7.09 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005633/1.163, allocations: 262 kB / 1.386 GB, free: 6.961 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006701/1.163, allocations: 365 kB / 1.387 GB, free: 6.73 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001192/1.164, allocations: 0.6006 MB / 1.387 GB, free: 6.406 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/1.164, allocations: 1.375 kB / 1.387 GB, free: 6.406 MB / 1.061 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002122/1.167, allocations: 0.8248 MB / 1.388 GB, free: 5.977 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.369e-05/1.167, allocations: 13.78 kB / 1.388 GB, free: 5.969 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.029e-05/1.167, allocations: 0.9688 kB / 1.388 GB, free: 5.969 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005878/1.167, allocations: 85.55 kB / 1.388 GB, free: 5.926 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006649/1.168, allocations: 155 kB / 1.388 GB, free: 5.887 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002203/1.17, allocations: 1.631 MB / 1.39 GB, free: 4.289 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008421/1.171, allocations: 100.5 kB / 1.39 GB, free: 4.223 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.601e-05/1.171, allocations: 31.08 kB / 1.39 GB, free: 4.211 MB / 1.061 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.000557/1.172, allocations: 281.5 kB / 1.39 GB, free: 3.988 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001993/1.172, allocations: 88.69 kB / 1.39 GB, free: 3.941 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002457/1.174, allocations: 1.091 MB / 1.391 GB, free: 3.332 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.131e-05/1.174, allocations: 9.625 kB / 1.391 GB, free: 3.332 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.865e-06/1.174, allocations: 1.312 kB / 1.391 GB, free: 3.332 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.118e-05/1.174, allocations: 3.984 kB / 1.391 GB, free: 3.328 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003716/1.178, allocations: 2.01 MB / 1.393 GB, free: 2 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.741e-06/1.178, allocations: 1.344 kB / 1.393 GB, free: 2 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006204/1.179, allocations: 146.5 kB / 1.393 GB, free: 1.969 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004412/1.179, allocations: 74.62 kB / 1.393 GB, free: 1.93 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.739e-05/1.179, allocations: 27.66 kB / 1.394 GB, free: 1.91 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00202/1.181, allocations: 1.663 MB / 1.395 GB, free: 300 kB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/1.181, allocations: 4.062 kB / 1.395 GB, free: 296 kB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002266/1.183, allocations: 1.024 MB / 1.396 GB, free: 15.7 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005604/1.184, allocations: 278.3 kB / 1.396 GB, free: 15.46 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001343/1.184, allocations: 21.52 kB / 1.396 GB, free: 15.45 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006647/1.185, allocations: 67.62 kB / 1.396 GB, free: 15.41 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001641/1.185, allocations: 70.89 kB / 1.397 GB, free: 15.38 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.528e-05/1.185, allocations: 35.86 kB / 1.397 GB, free: 15.36 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0006286/1.186, allocations: 473.6 kB / 1.397 GB, free: 15.09 MB / 1.076 GB Notification: Performance of sort global known variables: time 1e-07/1.186, allocations: 3.656 kB / 1.397 GB, free: 15.09 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.001004/1.187, allocations: 339.5 kB / 1.397 GB, free: 14.99 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.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 (94): * Single equations (assignments): 88 * 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.004263/1.191, allocations: 2.068 MB / 1.399 GB, free: 13.71 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001785/1.193, allocations: 0.8036 MB / 1.4 GB, free: 13.28 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 3.998e-06/1.193, allocations: 0 / 1.4 GB, free: 13.28 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0009337/1.194, allocations: 0.4987 MB / 1.401 GB, free: 12.99 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001413/1.195, allocations: 315.3 kB / 1.401 GB, free: 12.83 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01149/1.207, allocations: 6.46 MB / 1.407 GB, free: 8.832 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008034/1.207, allocations: 1.041 MB / 1.408 GB, free: 7.98 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0009624/1.208, allocations: 279.1 kB / 1.409 GB, free: 7.836 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006304/1.209, allocations: 402.1 kB / 1.409 GB, free: 7.516 MB / 1.076 GB Notification: Performance of SimCode: time 1.162e-06/1.209, allocations: 0 / 1.409 GB, free: 7.516 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06588/1.275, allocations: 22.39 MB / 1.431 GB, free: 1.914 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.24/14.51, allocations: 18.48 kB / 1.431 GB, free: 1.898 MB / 1.092 GB " [Timeout remaining time 285] (rm -f Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass_res.mat --tempDir=temp_Buildings_10_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass_fmu --startTime=0 --stopTime=864000 --stepSize=345.6 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass.fmu > Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.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.580407784786075]