Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Airflow.Multizone.Validation.DoorOpenClosed.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.001942/0.001942, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.00232/0.00232, allocations: 216.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.417/1.417, allocations: 230.6 MB / 256 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.024/3.024, allocations: 0.49 GB / 0.7951 GB, free: 35.39 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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.Airflow.Multizone.Validation.DoorOpenClosed,fileNamePrefix="Buildings_12_Buildings_Airflow_Multizone_Validation_DoorOpenClosed",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Validation.DoorOpenClosed,fileNamePrefix="Buildings_12_Buildings_Airflow_Multizone_Validation_DoorOpenClosed",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.001906/0.001906, allocations: 62.47 kB / 1.154 GB, free: 25.43 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3147/0.3166, allocations: 176.1 MB / 1.326 GB, free: 1.504 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Validation.DoorOpenClosed): time 0.2161/0.5328, allocations: 175.9 MB / 1.498 GB, free: 0.9414 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.01197/0.5448, allocations: 8.704 MB / 1.506 GB, free: 8.211 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000861/0.5456, allocations: 23.81 kB / 1.506 GB, free: 8.188 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.001481/0.5471, allocations: 0.5787 MB / 1.507 GB, free: 7.605 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.004679/0.5518, allocations: 2.081 MB / 1.509 GB, free: 5.516 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.001925/0.5537, allocations: 0.7556 MB / 1.509 GB, free: 4.766 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.002634/0.5563, allocations: 2.112 MB / 1.512 GB, free: 2.645 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009144/0.5573, allocations: 0.5885 MB / 1.512 GB, free: 2.039 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003105/0.5604, allocations: 1.573 MB / 1.514 GB, free: 472 kB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001174/0.5615, allocations: 0.7627 MB / 1.514 GB, free: 15.69 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.0001086/0.5616, allocations: 72 kB / 1.514 GB, free: 15.62 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002988/0.5646, allocations: 1.593 MB / 1.516 GB, free: 14.03 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.0004314/0.5651, allocations: 358.8 kB / 1.516 GB, free: 13.68 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.0005072/0.5656, allocations: 430.1 kB / 1.517 GB, free: 13.25 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.004488/0.5701, allocations: 1.802 MB / 1.519 GB, free: 11.45 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 6.512e-06/0.5701, allocations: 0 / 1.519 GB, free: 11.45 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.913e-06/0.5701, allocations: 0 / 1.519 GB, free: 11.45 MB / 1.217 GB Notification: Performance of Transformations before backend: time 1.465e-05/0.5701, allocations: 4 kB / 1.519 GB, free: 11.44 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.004037/0.5741, allocations: 1.38 MB / 1.52 GB, free: 10.03 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 6.393e-05/0.5742, allocations: 8.031 kB / 1.52 GB, free: 10.02 MB / 1.217 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001624/0.5743, allocations: 118.5 kB / 1.52 GB, free: 9.895 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006432/0.575, allocations: 159.3 kB / 1.52 GB, free: 9.738 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001047/0.576, allocations: 0.5304 MB / 1.521 GB, free: 9.176 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.306e-05/0.5761, allocations: 53.98 kB / 1.521 GB, free: 9.121 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000114/0.5762, allocations: 68 kB / 1.521 GB, free: 9.055 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001395/0.5776, allocations: 0.8626 MB / 1.522 GB, free: 8.172 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.188e-05/0.5776, allocations: 0 / 1.522 GB, free: 8.172 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.521e-05/0.5777, allocations: 27.98 kB / 1.522 GB, free: 8.145 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.612e-05/0.5777, allocations: 53.92 kB / 1.522 GB, free: 8.09 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001342/0.5791, allocations: 0.7689 MB / 1.522 GB, free: 7.32 MB / 1.217 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00435/0.5834, allocations: 2.371 MB / 1.525 GB, free: 4.883 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008386/0.5843, allocations: 397.6 kB / 1.525 GB, free: 4.488 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003109/0.5846, allocations: 181.4 kB / 1.525 GB, free: 4.309 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003691/0.585, allocations: 84.27 kB / 1.525 GB, free: 4.227 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.019e-05/0.585, allocations: 46.81 kB / 1.525 GB, free: 4.172 MB / 1.217 GB Notification: Performance of pre-optimization done (n=40): time 1.794e-06/0.585, allocations: 4 kB / 1.525 GB, free: 4.168 MB / 1.217 GB Notification: Performance of matching and sorting (n=40): time 0.001299/0.5863, allocations: 0.607 MB / 1.526 GB, free: 3.555 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.739e-05/0.5864, allocations: 55.41 kB / 1.526 GB, free: 3.488 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001078/0.5874, allocations: 0.8719 MB / 1.527 GB, free: 2.609 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 5.435e-05/0.5875, allocations: 29.7 kB / 1.527 GB, free: 2.574 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003397/0.5878, allocations: 396.2 kB / 1.527 GB, free: 2.184 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001349/0.588, allocations: 146.7 kB / 1.528 GB, free: 2.039 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001759/0.5881, allocations: 102.1 kB / 1.528 GB, free: 1.934 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001696/0.5883, allocations: 326 kB / 1.528 GB, free: 1.609 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003357/0.5887, allocations: 180.9 kB / 1.528 GB, free: 1.434 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005131/0.5892, allocations: 391.7 kB / 1.528 GB, free: 1 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000751/0.5899, allocations: 450.6 kB / 1.529 GB, free: 0.5312 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.5899, allocations: 0 / 1.529 GB, free: 0.5312 MB / 1.217 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001043/0.591, allocations: 0.5859 MB / 1.529 GB, free: 15.94 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.591, allocations: 4 kB / 1.529 GB, free: 15.93 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.416e-06/0.591, allocations: 12.16 kB / 1.529 GB, free: 15.92 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.558e-05/0.591, allocations: 15.86 kB / 1.529 GB, free: 15.91 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000502/0.5915, allocations: 99.89 kB / 1.53 GB, free: 15.81 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.353e-05/0.5915, allocations: 7.938 kB / 1.53 GB, free: 15.8 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005696/0.5921, allocations: 79.34 kB / 1.53 GB, free: 15.72 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.97e-05/0.5922, allocations: 20 kB / 1.53 GB, free: 15.7 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.0003093/0.5925, allocations: 241.7 kB / 1.53 GB, free: 15.46 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001285/0.5926, allocations: 83.48 kB / 1.53 GB, free: 15.38 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001029/0.5936, allocations: 0.567 MB / 1.531 GB, free: 14.8 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.141e-06/0.5936, allocations: 4 kB / 1.531 GB, free: 14.79 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.5936, allocations: 0 / 1.531 GB, free: 14.79 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.618e-06/0.5936, allocations: 0 / 1.531 GB, free: 14.79 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003213/0.5968, allocations: 1.851 MB / 1.532 GB, free: 12.81 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.743e-06/0.5969, allocations: 4 kB / 1.532 GB, free: 12.81 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000417/0.5973, allocations: 95.83 kB / 1.532 GB, free: 12.71 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.899e-06/0.5973, allocations: 8 kB / 1.532 GB, free: 12.71 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.803e-05/0.5973, allocations: 16 kB / 1.532 GB, free: 12.69 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.2e-05/0.5973, allocations: 15.94 kB / 1.533 GB, free: 12.68 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.29e-06/0.5973, allocations: 4 kB / 1.533 GB, free: 12.67 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001371/0.5987, allocations: 0.9881 MB / 1.533 GB, free: 11.59 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003381/0.599, allocations: 143.2 kB / 1.534 GB, free: 11.45 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001242/0.5992, allocations: 23.98 kB / 1.534 GB, free: 11.43 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004846/0.5997, allocations: 12 kB / 1.534 GB, free: 11.41 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.972e-05/0.5998, allocations: 55.75 kB / 1.534 GB, free: 11.36 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.539e-05/0.5998, allocations: 24.06 kB / 1.534 GB, free: 11.34 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.0007974/0.6006, allocations: 0.6278 MB / 1.534 GB, free: 10.71 MB / 1.232 GB Notification: Performance of sort global known variables: time 1e-07/0.6006, allocations: 0 / 1.534 GB, free: 10.71 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.0007103/0.6013, allocations: 239.7 kB / 1.535 GB, free: 10.48 MB / 1.232 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.001953/0.6033, allocations: 1.652 MB / 1.536 GB, free: 8.723 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.0007992/0.6041, allocations: 447.2 kB / 1.537 GB, free: 8.281 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.6041, allocations: 0 / 1.537 GB, free: 8.281 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.0003764/0.6044, allocations: 229.6 kB / 1.537 GB, free: 8.059 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002043/0.6065, allocations: 495.4 kB / 1.537 GB, free: 7.578 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008779/0.6153, allocations: 6.607 MB / 1.544 GB, free: 0.6641 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004216/0.6157, allocations: 420.3 kB / 1.544 GB, free: 232 kB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.0006473/0.6163, allocations: 183.1 kB / 1.544 GB, free: 44 kB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004424/0.6168, allocations: 299.4 kB / 1.545 GB, free: 15.75 MB / 1.248 GB Notification: Performance of SimCode: time 9.42e-07/0.6168, allocations: 0 / 1.545 GB, free: 15.75 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06157/0.6783, allocations: 27.14 MB / 1.571 GB, free: 5.168 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.48/12.16, allocations: 7.969 kB / 1.571 GB, free: 5.16 MB / 1.264 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Airflow.Multizone.Validation.DoorOpenClosed.pipe ; mkfifo Buildings_12_Buildings.Airflow.Multizone.Validation.DoorOpenClosed.pipe ; head -c 1048576 < Buildings_12_Buildings.Airflow.Multizone.Validation.DoorOpenClosed.pipe >> ../files/Buildings_12_Buildings.Airflow.Multizone.Validation.DoorOpenClosed.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Airflow.Multizone.Validation.DoorOpenClosed_res.mat --tempDir=temp_Buildings_12_Buildings_Airflow_Multizone_Validation_DoorOpenClosed_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Airflow_Multizone_Validation_DoorOpenClosed.fmu > Buildings_12_Buildings.Airflow.Multizone.Validation.DoorOpenClosed.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Airflow.Multizone.Validation.DoorOpenClosed_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Airflow_Multizone_Validation_DoorOpenClosed.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 18.52546342901769]