Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Airflow.Multizone.Validation.OpenDoorTemperature.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.001694/0.001694, allocations: 106 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.001819/0.001819, 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.359/1.359, allocations: 225.6 MB / 247.8 MB, free: 3.734 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.734/2.734, allocations: 497.2 MB / 0.7812 GB, free: 11.96 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.Airflow.Multizone.Validation.OpenDoorTemperature,fileNamePrefix="Buildings_latest_Buildings_Airflow_Multizone_Validation_OpenDoorTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Validation.OpenDoorTemperature,fileNamePrefix="Buildings_latest_Buildings_Airflow_Multizone_Validation_OpenDoorTemperature",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001871/0.001871, allocations: 67.89 kB / 1.134 GB, free: 13.21 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8071/0.8089, allocations: 173.9 MB / 1.304 GB, free: 32.12 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Validation.OpenDoorTemperature): time 0.1964/1.005, allocations: 185.1 MB / 1.485 GB, free: 9.156 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.008143/1.013, allocations: 5.58 MB / 1.49 GB, free: 4.641 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007473/1.014, allocations: 14.5 kB / 1.49 GB, free: 4.637 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.001481/1.016, allocations: 0.5983 MB / 1.491 GB, free: 4.188 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.004758/1.02, allocations: 1.893 MB / 1.493 GB, free: 2.789 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.001963/1.022, allocations: 0.6861 MB / 1.493 GB, free: 2.301 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.002556/1.025, allocations: 2.138 MB / 1.495 GB, free: 1.094 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009349/1.026, allocations: 0.6472 MB / 1.496 GB, free: 0.668 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002076/1.028, allocations: 1.108 MB / 1.497 GB, free: 48 kB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001206/1.029, allocations: 0.8652 MB / 1.498 GB, free: 15.56 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0001391/1.029, allocations: 90.22 kB / 1.498 GB, free: 15.56 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003909/1.033, allocations: 2.084 MB / 1.5 GB, free: 14.38 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0005184/1.034, allocations: 459.5 kB / 1.501 GB, free: 14.08 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0007842/1.035, allocations: 0.5819 MB / 1.501 GB, free: 13.71 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.003647/1.038, allocations: 2.134 MB / 1.503 GB, free: 11.6 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/1.038, allocations: 4 kB / 1.503 GB, free: 11.59 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.483e-06/1.038, allocations: 0 / 1.503 GB, free: 11.59 MB / 1.186 GB Notification: Performance of Transformations before backend: time 1.585e-05/1.038, allocations: 3.938 kB / 1.503 GB, free: 11.59 MB / 1.186 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 251 * Number of variables: 251 Notification: Performance of Generate backend data structure: time 0.003811/1.042, allocations: 1.675 MB / 1.505 GB, free: 9.855 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.24e-05/1.042, allocations: 12.03 kB / 1.505 GB, free: 9.844 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001733/1.042, allocations: 148.2 kB / 1.505 GB, free: 9.691 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005833/1.043, allocations: 163.2 kB / 1.505 GB, free: 9.531 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001078/1.044, allocations: 0.6132 MB / 1.506 GB, free: 8.879 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.239e-05/1.044, allocations: 62 kB / 1.506 GB, free: 8.816 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001492/1.044, allocations: 95.97 kB / 1.506 GB, free: 8.723 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001858/1.046, allocations: 1.274 MB / 1.507 GB, free: 7.438 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.401e-05/1.046, allocations: 0 / 1.507 GB, free: 7.438 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.7e-05/1.046, allocations: 40 kB / 1.507 GB, free: 7.398 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.683e-05/1.046, allocations: 65.97 kB / 1.507 GB, free: 7.332 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002439/1.049, allocations: 1.643 MB / 1.509 GB, free: 5.688 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005714/1.054, allocations: 3.704 MB / 1.512 GB, free: 1.742 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001997/1.056, allocations: 1.344 MB / 1.514 GB, free: 404 kB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009129/1.057, allocations: 0.62 MB / 1.514 GB, free: 15.77 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009996/1.058, allocations: 0.9581 MB / 1.515 GB, free: 14.61 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009975/1.059, allocations: 0.7046 MB / 1.516 GB, free: 13.88 MB / 1.201 GB Notification: Performance of pre-optimization done (n=123): time 2.985e-06/1.059, allocations: 0 / 1.516 GB, free: 13.88 MB / 1.201 GB Notification: Performance of matching and sorting (n=123): time 0.002966/1.062, allocations: 1.852 MB / 1.518 GB, free: 12.02 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.477e-05/1.062, allocations: 90.11 kB / 1.518 GB, free: 11.92 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001012/1.063, allocations: 0.8524 MB / 1.519 GB, free: 11.06 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 7.242e-05/1.063, allocations: 49.7 kB / 1.519 GB, free: 11 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003256/1.064, allocations: 421.1 kB / 1.519 GB, free: 10.59 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003421/1.064, allocations: 432.3 kB / 1.52 GB, free: 10.16 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003586/1.064, allocations: 238.8 kB / 1.52 GB, free: 9.922 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0002202/1.065, allocations: 414.7 kB / 1.52 GB, free: 9.508 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008555/1.065, allocations: 0.553 MB / 1.521 GB, free: 8.953 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001007/1.066, allocations: 0.7057 MB / 1.521 GB, free: 8.219 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002015/1.068, allocations: 1.352 MB / 1.523 GB, free: 6.824 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.184e-06/1.068, allocations: 7.938 kB / 1.523 GB, free: 6.816 MB / 1.201 GB Notification: Performance of matching and sorting (n=164) (initialization): time 0.002564/1.071, allocations: 1.607 MB / 1.524 GB, free: 5.195 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 5.267e-05/1.071, allocations: 41.64 kB / 1.524 GB, free: 5.148 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.087e-05/1.071, allocations: 4 kB / 1.524 GB, free: 5.145 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.305e-05/1.071, allocations: 8 kB / 1.524 GB, free: 5.137 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001062/1.072, allocations: 259.6 kB / 1.525 GB, free: 4.883 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.747e-05/1.072, allocations: 8 kB / 1.525 GB, free: 4.875 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007653/1.073, allocations: 134.9 kB / 1.525 GB, free: 4.742 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001008/1.073, allocations: 51.98 kB / 1.525 GB, free: 4.691 MB / 1.201 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 7 (bouTem.nextEventScaled,bouTem.nextEvent,$PRE.bouTem.nextEvent,bouTem.last,bouTem.b,bouTem.a,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (159): * Single equations (assignments): 158 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004981/1.074, allocations: 371.1 kB / 1.525 GB, free: 4.312 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001593/1.074, allocations: 119.3 kB / 1.525 GB, free: 4.195 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002663/1.076, allocations: 1.585 MB / 1.527 GB, free: 2.594 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.208e-05/1.076, allocations: 12 kB / 1.527 GB, free: 2.582 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/1.076, allocations: 0 / 1.527 GB, free: 2.582 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.2e-05/1.076, allocations: 11.91 kB / 1.527 GB, free: 2.57 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005033/1.081, allocations: 3.306 MB / 1.53 GB, free: 15.11 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.435e-06/1.081, allocations: 4 kB / 1.53 GB, free: 15.1 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008246/1.082, allocations: 199.7 kB / 1.53 GB, free: 14.91 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.506e-05/1.082, allocations: 19.92 kB / 1.53 GB, free: 14.89 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.722e-05/1.082, allocations: 32 kB / 1.53 GB, free: 14.86 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-05/1.082, allocations: 15.94 kB / 1.53 GB, free: 14.84 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.813e-06/1.082, allocations: 7.938 kB / 1.53 GB, free: 14.83 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003359/1.086, allocations: 2.494 MB / 1.533 GB, free: 12.24 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000637/1.086, allocations: 331.9 kB / 1.533 GB, free: 11.9 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000153/1.087, allocations: 32 kB / 1.533 GB, free: 11.87 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005484/1.087, allocations: 36 kB / 1.533 GB, free: 11.83 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001566/1.087, allocations: 92.7 kB / 1.533 GB, free: 11.74 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.57e-05/1.087, allocations: 40 kB / 1.533 GB, free: 11.7 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0007495/1.088, allocations: 0.6005 MB / 1.534 GB, free: 11.11 MB / 1.217 GB Notification: Performance of sort global known variables: time 1.1e-07/1.088, allocations: 4 kB / 1.534 GB, free: 11.1 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.0009528/1.089, allocations: 391.5 kB / 1.534 GB, free: 10.72 MB / 1.217 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 2 (dooDis.mExcAB,dooDis.mExcBA) * Number of discrete variables: 6 ($whenCondition1,bouTem.a,bouTem.b,bouTem.last,bouTem.nextEvent,bouTem.nextEventScaled) * Number of discrete states: 6 (bouTem.nextEvent,bouTem.last,bouTem.nextEventScaled,bouTem.b,bouTem.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (122): * Single equations (assignments): 121 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004117/1.093, allocations: 3.228 MB / 1.537 GB, free: 7.387 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.002087/1.095, allocations: 1.338 MB / 1.539 GB, free: 6.039 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 4.038e-06/1.095, allocations: 0 / 1.539 GB, free: 6.039 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.0009258/1.096, allocations: 0.6664 MB / 1.539 GB, free: 5.359 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001885/1.098, allocations: 447.2 kB / 1.54 GB, free: 4.926 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01347/1.112, allocations: 10.09 MB / 1.55 GB, free: 10.51 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007811/1.112, allocations: 1.105 MB / 1.551 GB, free: 9.379 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.001241/1.114, allocations: 460.5 kB / 1.551 GB, free: 8.926 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00055/1.114, allocations: 367.3 kB / 1.551 GB, free: 8.566 MB / 1.232 GB Notification: Performance of SimCode: time 8.51e-07/1.114, allocations: 4 kB / 1.551 GB, free: 8.562 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06077/1.175, allocations: 27.98 MB / 1.579 GB, free: 12.91 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.759/10.93, allocations: 17.8 kB / 1.579 GB, free: 12.9 MB / 1.264 GB " [Timeout remaining time 289] (rm -f Buildings_latest_Buildings.Airflow.Multizone.Validation.OpenDoorTemperature.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Validation.OpenDoorTemperature.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Validation.OpenDoorTemperature.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Validation.OpenDoorTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Airflow.Multizone.Validation.OpenDoorTemperature_res.mat --tempDir=temp_Buildings_latest_Buildings_Airflow_Multizone_Validation_OpenDoorTemperature_fmu --startTime=0 --stopTime=28800 --stepSize=600 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Airflow_Multizone_Validation_OpenDoorTemperature.fmu > Buildings_latest_Buildings.Airflow.Multizone.Validation.OpenDoorTemperature.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.Validation.OpenDoorTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_Validation_OpenDoorTemperature.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Airflow.Multizone.Validation.OpenDoorTemperature.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: 16.77077374700457]