Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Airflow.Multizone.Validation.DoorOpenClosed.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.001819/0.001819, allocations: 106.8 kB / 16.45 MB, free: 6.035 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.001936/0.001936, allocations: 191.8 kB / 19.41 MB, free: 3.539 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.35/1.35, allocations: 225.6 MB / 247.8 MB, free: 13.92 MB / 206.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 3.011/3.011, allocations: 497.2 MB / 0.7811 GB, free: 33.71 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.DoorOpenClosed,fileNamePrefix="Buildings_latest_Buildings_Airflow_Multizone_Validation_DoorOpenClosed",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Validation.DoorOpenClosed,fileNamePrefix="Buildings_latest_Buildings_Airflow_Multizone_Validation_DoorOpenClosed",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001975/0.001975, allocations: 63.81 kB / 1.134 GB, free: 33.65 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3217/0.3237, allocations: 173.9 MB / 1.304 GB, free: 1.543 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Validation.DoorOpenClosed): time 0.2203/0.5439, allocations: 199.4 MB / 1.499 GB, free: 9.422 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.01315/0.5571, allocations: 9.503 MB / 1.508 GB, free: 15.89 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00106/0.5582, allocations: 15.94 kB / 1.508 GB, free: 15.88 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.00185/0.56, allocations: 0.6332 MB / 1.509 GB, free: 15.24 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.005555/0.5656, allocations: 2.085 MB / 1.511 GB, free: 13.14 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.002253/0.5678, allocations: 0.7399 MB / 1.511 GB, free: 12.41 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.002981/0.5708, allocations: 2.097 MB / 1.513 GB, free: 10.3 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001299/0.5721, allocations: 0.6386 MB / 1.514 GB, free: 9.648 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003489/0.5756, allocations: 1.549 MB / 1.516 GB, free: 8.094 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001406/0.577, allocations: 0.7587 MB / 1.516 GB, free: 7.332 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.0002533/0.5772, allocations: 76 kB / 1.516 GB, free: 7.258 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004088/0.5813, allocations: 2.026 MB / 1.518 GB, free: 5.227 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.0006412/0.582, allocations: 362.8 kB / 1.519 GB, free: 4.871 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.001012/0.583, allocations: 0.4976 MB / 1.519 GB, free: 4.371 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.004006/0.587, allocations: 1.849 MB / 1.521 GB, free: 2.516 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.587, allocations: 0 / 1.521 GB, free: 2.516 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.933e-06/0.587, allocations: 0 / 1.521 GB, free: 2.516 MB / 1.217 GB Notification: Performance of Transformations before backend: time 5.429e-05/0.587, allocations: 0 / 1.521 GB, free: 2.516 MB / 1.217 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 185 * Number of variables: 185 Notification: Performance of Generate backend data structure: time 0.004184/0.5912, allocations: 1.463 MB / 1.522 GB, free: 1 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 4.911e-05/0.5913, allocations: 12.56 kB / 1.522 GB, free: 0.9883 MB / 1.217 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002034/0.5915, allocations: 114.5 kB / 1.522 GB, free: 0.8672 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007422/0.5922, allocations: 167.2 kB / 1.523 GB, free: 0.7031 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001199/0.5934, allocations: 0.5843 MB / 1.523 GB, free: 76 kB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.301e-05/0.5935, allocations: 54 kB / 1.523 GB, free: 20 kB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001411/0.5936, allocations: 64.05 kB / 1.523 GB, free: 15.95 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001482/0.5951, allocations: 0.8703 MB / 1.524 GB, free: 15.07 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.389e-05/0.5951, allocations: 0 / 1.524 GB, free: 15.07 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.396e-05/0.5952, allocations: 28 kB / 1.524 GB, free: 15.04 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.914e-05/0.5953, allocations: 45.98 kB / 1.524 GB, free: 14.99 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001411/0.5967, allocations: 0.7767 MB / 1.525 GB, free: 14.21 MB / 1.232 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005883/0.6026, allocations: 4.515 MB / 1.529 GB, free: 9.156 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007936/0.6033, allocations: 399.9 kB / 1.53 GB, free: 8.758 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003081/0.6037, allocations: 173.4 kB / 1.53 GB, free: 8.586 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007408/0.6044, allocations: 0.76 MB / 1.531 GB, free: 7.66 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.787e-05/0.6044, allocations: 38.88 kB / 1.531 GB, free: 7.613 MB / 1.232 GB Notification: Performance of pre-optimization done (n=40): time 2.335e-06/0.6044, allocations: 3.938 kB / 1.531 GB, free: 7.609 MB / 1.232 GB Notification: Performance of matching and sorting (n=40): time 0.001375/0.6058, allocations: 0.612 MB / 1.531 GB, free: 6.992 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.571e-05/0.6059, allocations: 55.41 kB / 1.531 GB, free: 6.926 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001187/0.607, allocations: 0.8642 MB / 1.532 GB, free: 6.055 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 5.017e-05/0.6071, allocations: 41.58 kB / 1.532 GB, free: 6.008 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003241/0.6074, allocations: 400.2 kB / 1.533 GB, free: 5.613 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001405/0.6076, allocations: 142.7 kB / 1.533 GB, free: 5.473 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001751/0.6077, allocations: 98.2 kB / 1.533 GB, free: 5.371 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0001378/0.6079, allocations: 322 kB / 1.533 GB, free: 5.051 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003481/0.6082, allocations: 189 kB / 1.533 GB, free: 4.863 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004449/0.6087, allocations: 273.6 kB / 1.534 GB, free: 4.57 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007413/0.6094, allocations: 454.6 kB / 1.534 GB, free: 4.098 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.418e-06/0.6094, allocations: 0 / 1.534 GB, free: 4.098 MB / 1.232 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001091/0.6105, allocations: 0.5862 MB / 1.535 GB, free: 3.504 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 2.179e-05/0.6105, allocations: 8 kB / 1.535 GB, free: 3.496 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.675e-06/0.6105, allocations: 0 / 1.535 GB, free: 3.496 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.476e-05/0.6106, allocations: 7.938 kB / 1.535 GB, free: 3.488 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004933/0.611, allocations: 103.8 kB / 1.535 GB, free: 3.387 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.424e-05/0.6111, allocations: 12.2 kB / 1.535 GB, free: 3.375 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006009/0.6117, allocations: 79.34 kB / 1.535 GB, free: 3.297 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.53e-05/0.6117, allocations: 20 kB / 1.535 GB, free: 3.277 MB / 1.232 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (57): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * 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.0003292/0.612, allocations: 245.6 kB / 1.535 GB, free: 3.027 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001678/0.6122, allocations: 83.48 kB / 1.535 GB, free: 2.945 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00103/0.6132, allocations: 0.5554 MB / 1.536 GB, free: 2.383 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.342e-06/0.6132, allocations: 4 kB / 1.536 GB, free: 2.379 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.6133, allocations: 0 / 1.536 GB, free: 2.379 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.684e-06/0.6133, allocations: 3.984 kB / 1.536 GB, free: 2.375 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003527/0.6168, allocations: 2.12 MB / 1.538 GB, free: 84 kB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.779e-06/0.6168, allocations: 4 kB / 1.538 GB, free: 80 kB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004301/0.6172, allocations: 95.83 kB / 1.538 GB, free: 15.98 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.17e-05/0.6172, allocations: 8 kB / 1.538 GB, free: 15.98 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.794e-05/0.6173, allocations: 16 kB / 1.538 GB, free: 15.96 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-05/0.6173, allocations: 12.44 kB / 1.538 GB, free: 15.95 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.007e-05/0.6173, allocations: 11.94 kB / 1.538 GB, free: 15.94 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001422/0.6187, allocations: 0.9913 MB / 1.539 GB, free: 14.85 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004114/0.6191, allocations: 220.3 kB / 1.539 GB, free: 14.61 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001597/0.6193, allocations: 19.92 kB / 1.539 GB, free: 14.59 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005083/0.6198, allocations: 16 kB / 1.539 GB, free: 14.58 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001058/0.6199, allocations: 59.77 kB / 1.539 GB, free: 14.52 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.787e-05/0.6199, allocations: 20.06 kB / 1.539 GB, free: 14.5 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.000849/0.6208, allocations: 0.6317 MB / 1.54 GB, free: 13.87 MB / 1.248 GB Notification: Performance of sort global known variables: time 1e-07/0.6208, allocations: 0 / 1.54 GB, free: 13.87 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.0007869/0.6216, allocations: 235.7 kB / 1.54 GB, free: 13.64 MB / 1.248 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 1 (lea.mExc) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * 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.00216/0.6237, allocations: 1.673 MB / 1.542 GB, free: 11.86 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.0008831/0.6246, allocations: 442.8 kB / 1.542 GB, free: 11.43 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 4.689e-06/0.6246, allocations: 448 / 1.542 GB, free: 11.43 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.0003947/0.625, allocations: 225.2 kB / 1.542 GB, free: 11.21 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002235/0.6273, allocations: 0.4886 MB / 1.543 GB, free: 10.73 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009884/0.6371, allocations: 6.626 MB / 1.549 GB, free: 3.809 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007724/0.6379, allocations: 0.9966 MB / 1.55 GB, free: 2.785 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.0007523/0.6387, allocations: 191 kB / 1.55 GB, free: 2.594 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004737/0.6391, allocations: 295.3 kB / 1.551 GB, free: 2.305 MB / 1.248 GB Notification: Performance of SimCode: time 9.22e-07/0.6391, allocations: 0 / 1.551 GB, free: 2.305 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08235/0.7215, allocations: 24.42 MB / 1.575 GB, free: 10.21 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.25/9.971, allocations: 9.469 kB / 1.575 GB, free: 10.21 MB / 1.279 GB " [Timeout remaining time 290] (rm -f Buildings_latest_Buildings.Airflow.Multizone.Validation.DoorOpenClosed.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Validation.DoorOpenClosed.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Validation.DoorOpenClosed.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Validation.DoorOpenClosed.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Airflow.Multizone.Validation.DoorOpenClosed_res.mat --tempDir=temp_Buildings_latest_Buildings_Airflow_Multizone_Validation_DoorOpenClosed_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Airflow_Multizone_Validation_DoorOpenClosed.fmu > Buildings_latest_Buildings.Airflow.Multizone.Validation.DoorOpenClosed.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.Validation.DoorOpenClosed_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_Validation_DoorOpenClosed.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Airflow.Multizone.Validation.DoorOpenClosed.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.343867355026305]