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.001835/0.001835, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.002392/0.002392, allocations: 218.5 kB / 23.04 MB, free: 5.074 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.399/1.399, allocations: 230.6 MB / 256.8 MB, free: 7.992 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.057/3.057, allocations: 0.49 GB / 0.7959 GB, free: 33.43 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Validation.DoorOpenClosed,fileNamePrefix="Buildings_12_Buildings_Airflow_Multizone_Validation_DoorOpenClosed",fmuType="cs",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.001957/0.001957, allocations: 65.7 kB / 1.155 GB, free: 25.72 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3334/0.3354, allocations: 176.1 MB / 1.327 GB, free: 1.961 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Validation.DoorOpenClosed): time 0.2247/0.56, allocations: 202.8 MB / 1.525 GB, free: 6.445 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.01306/0.5731, allocations: 9.566 MB / 1.534 GB, free: 12.85 MB / 1.232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001029/0.5741, allocations: 23.81 kB / 1.534 GB, free: 12.83 MB / 1.232 GB Notification: Performance of NFTyping.typeComponents: time 0.001739/0.5759, allocations: 0.6293 MB / 1.535 GB, free: 12.2 MB / 1.232 GB Notification: Performance of NFTyping.typeBindings: time 0.005646/0.5815, allocations: 2.116 MB / 1.537 GB, free: 10.07 MB / 1.232 GB Notification: Performance of NFTyping.typeClassSections: time 0.002288/0.5838, allocations: 0.7756 MB / 1.537 GB, free: 9.301 MB / 1.232 GB Notification: Performance of NFFlatten.flatten: time 0.003446/0.5873, allocations: 2.108 MB / 1.54 GB, free: 7.184 MB / 1.232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00124/0.5885, allocations: 0.5964 MB / 1.54 GB, free: 6.57 MB / 1.232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003761/0.5923, allocations: 1.573 MB / 1.542 GB, free: 4.992 MB / 1.232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001389/0.5936, allocations: 0.7587 MB / 1.542 GB, free: 4.23 MB / 1.232 GB Notification: Performance of NFPackage.collectConstants: time 0.0001822/0.5938, allocations: 72 kB / 1.542 GB, free: 4.16 MB / 1.232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003848/0.5977, allocations: 2.061 MB / 1.544 GB, free: 2.094 MB / 1.232 GB Notification: Performance of NFScalarize.scalarize: time 0.0005226/0.5982, allocations: 358.8 kB / 1.545 GB, free: 1.742 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.0007222/0.5989, allocations: 0.5054 MB / 1.545 GB, free: 1.234 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.003452/0.6024, allocations: 1.849 MB / 1.547 GB, free: 15.38 MB / 1.248 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.6024, allocations: 4 kB / 1.547 GB, free: 15.37 MB / 1.248 GB Notification: Performance of FrontEnd: time 1.684e-06/0.6024, allocations: 4 kB / 1.547 GB, free: 15.37 MB / 1.248 GB Notification: Performance of Transformations before backend: time 1.389e-05/0.6024, allocations: 0 / 1.547 GB, free: 15.37 MB / 1.248 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.003529/0.6059, allocations: 1.38 MB / 1.548 GB, free: 13.95 MB / 1.248 GB Notification: Performance of prepare preOptimizeDAE: time 4.892e-05/0.606, allocations: 16.03 kB / 1.548 GB, free: 13.94 MB / 1.248 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.117e-05/0.606, allocations: 18 kB / 1.548 GB, free: 13.92 MB / 1.248 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001401/0.6061, allocations: 122.5 kB / 1.549 GB, free: 13.79 MB / 1.248 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006394/0.6068, allocations: 155.3 kB / 1.549 GB, free: 13.64 MB / 1.248 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009446/0.6077, allocations: 0.5303 MB / 1.549 GB, free: 13.08 MB / 1.248 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.455e-05/0.6078, allocations: 54 kB / 1.549 GB, free: 13.03 MB / 1.248 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001121/0.6079, allocations: 67.98 kB / 1.549 GB, free: 12.96 MB / 1.248 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001363/0.6092, allocations: 0.8665 MB / 1.55 GB, free: 12.07 MB / 1.248 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.137e-05/0.6093, allocations: 0 / 1.55 GB, free: 12.07 MB / 1.248 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.35e-05/0.6093, allocations: 28 kB / 1.55 GB, free: 12.04 MB / 1.248 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.046e-05/0.6094, allocations: 45.98 kB / 1.55 GB, free: 12 MB / 1.248 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001336/0.6107, allocations: 0.7728 MB / 1.551 GB, free: 11.23 MB / 1.248 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004434/0.6152, allocations: 2.901 MB / 1.554 GB, free: 8.176 MB / 1.248 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007482/0.6159, allocations: 393.1 kB / 1.554 GB, free: 7.789 MB / 1.248 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003059/0.6162, allocations: 181.3 kB / 1.554 GB, free: 7.609 MB / 1.248 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003705/0.6166, allocations: 88.25 kB / 1.555 GB, free: 7.523 MB / 1.248 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.871e-05/0.6166, allocations: 46.83 kB / 1.555 GB, free: 7.469 MB / 1.248 GB Notification: Performance of pre-optimization done (n=40): time 1.754e-06/0.6166, allocations: 0 / 1.555 GB, free: 7.469 MB / 1.248 GB Notification: Performance of matching and sorting (n=40): time 0.001298/0.6179, allocations: 0.607 MB / 1.555 GB, free: 6.855 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.042e-05/0.618, allocations: 59.41 kB / 1.555 GB, free: 6.785 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001065/0.619, allocations: 0.8603 MB / 1.556 GB, free: 5.914 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 4.127e-05/0.6191, allocations: 33.64 kB / 1.556 GB, free: 5.875 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003148/0.6194, allocations: 400.2 kB / 1.556 GB, free: 5.48 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001204/0.6195, allocations: 146.7 kB / 1.557 GB, free: 5.336 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000178/0.6197, allocations: 102.1 kB / 1.557 GB, free: 5.23 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.0001351/0.6198, allocations: 326 kB / 1.557 GB, free: 4.906 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003439/0.6201, allocations: 184.8 kB / 1.557 GB, free: 4.727 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004383/0.6206, allocations: 281 kB / 1.557 GB, free: 4.422 MB / 1.248 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007202/0.6213, allocations: 446.6 kB / 1.558 GB, free: 3.957 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.6213, allocations: 0 / 1.558 GB, free: 3.957 MB / 1.248 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001055/0.6224, allocations: 0.5939 MB / 1.558 GB, free: 3.355 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 1.699e-05/0.6224, allocations: 4 kB / 1.558 GB, free: 3.352 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.011e-05/0.6224, allocations: 7.938 kB / 1.558 GB, free: 3.344 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.781e-05/0.6224, allocations: 4 kB / 1.558 GB, free: 3.34 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004939/0.6229, allocations: 103.8 kB / 1.559 GB, free: 3.238 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.118e-05/0.6229, allocations: 8 kB / 1.559 GB, free: 3.23 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005655/0.6235, allocations: 75.39 kB / 1.559 GB, free: 3.156 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.148e-05/0.6235, allocations: 20 kB / 1.559 GB, free: 3.137 MB / 1.248 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.0003128/0.6238, allocations: 249.7 kB / 1.559 GB, free: 2.883 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001283/0.624, allocations: 87.42 kB / 1.559 GB, free: 2.797 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001021/0.625, allocations: 0.5515 MB / 1.56 GB, free: 2.234 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.542e-06/0.625, allocations: 4 kB / 1.56 GB, free: 2.23 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.625, allocations: 4 kB / 1.56 GB, free: 2.227 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.625, allocations: 4 kB / 1.56 GB, free: 2.223 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003221/0.6282, allocations: 1.947 MB / 1.561 GB, free: 152 kB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.957e-06/0.6282, allocations: 4.125 kB / 1.561 GB, free: 148 kB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004058/0.6286, allocations: 95.84 kB / 1.562 GB, free: 52 kB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.009e-05/0.6287, allocations: 8 kB / 1.562 GB, free: 44 kB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.607e-05/0.6287, allocations: 15.98 kB / 1.562 GB, free: 28 kB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.939e-06/0.6287, allocations: 11.94 kB / 1.562 GB, free: 16 kB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.613e-06/0.6287, allocations: 8 kB / 1.562 GB, free: 8 kB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001443/0.6302, allocations: 0.9878 MB / 1.563 GB, free: 14.93 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000335/0.6305, allocations: 143.2 kB / 1.563 GB, free: 14.79 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001201/0.6306, allocations: 16.06 kB / 1.563 GB, free: 14.77 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004726/0.6311, allocations: 24.05 kB / 1.563 GB, free: 14.75 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001027/0.6312, allocations: 59.69 kB / 1.563 GB, free: 14.69 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.245e-05/0.6312, allocations: 20 kB / 1.563 GB, free: 14.67 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.0008147/0.632, allocations: 0.6316 MB / 1.563 GB, free: 14.04 MB / 1.264 GB Notification: Performance of sort global known variables: time 9e-08/0.632, allocations: 0 / 1.563 GB, free: 14.04 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.0007479/0.6328, allocations: 247.6 kB / 1.564 GB, free: 13.8 MB / 1.264 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.001964/0.6347, allocations: 1.645 MB / 1.565 GB, free: 12.05 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.0008395/0.6356, allocations: 438.5 kB / 1.566 GB, free: 11.62 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 3.397e-06/0.6356, allocations: 0 / 1.566 GB, free: 11.62 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.0003869/0.636, allocations: 225.6 kB / 1.566 GB, free: 11.4 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002238/0.6382, allocations: 494.3 kB / 1.566 GB, free: 10.91 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009153/0.6474, allocations: 6.625 MB / 1.573 GB, free: 3.984 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006591/0.648, allocations: 1.004 MB / 1.574 GB, free: 2.953 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.0006786/0.6487, allocations: 183.1 kB / 1.574 GB, free: 2.77 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000439/0.6491, allocations: 295.3 kB / 1.574 GB, free: 2.484 MB / 1.264 GB Notification: Performance of SimCode: time 1.112e-06/0.6491, allocations: 4 kB / 1.574 GB, free: 2.48 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05611/0.7052, allocations: 24.83 MB / 1.599 GB, free: 10.03 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.01/13.71, allocations: 17.75 kB / 1.599 GB, free: 10.02 MB / 1.295 GB " [Timeout remaining time 286] (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: 21.103274193010293]