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.001765/0.001765, allocations: 108.9 kB / 16.46 MB, free: 6.453 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.002254/0.002254, allocations: 216.2 kB / 19.43 MB, free: 3.625 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.38/1.38, allocations: 230.6 MB / 252.8 MB, free: 8.953 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 2.958/2.958, allocations: 0.49 GB / 0.7916 GB, free: 33.59 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.002023/0.002023, allocations: 76.36 kB / 1.149 GB, free: 26.28 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3238/0.3258, allocations: 176.1 MB / 1.321 GB, free: 3.336 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Validation.DoorOpenClosed): time 0.2204/0.5462, allocations: 202.3 MB / 1.518 GB, free: 8.25 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.01284/0.559, allocations: 9.522 MB / 1.528 GB, free: 14.7 MB / 1.232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001048/0.5601, allocations: 27.81 kB / 1.528 GB, free: 14.67 MB / 1.232 GB Notification: Performance of NFTyping.typeComponents: time 0.00169/0.5618, allocations: 0.6293 MB / 1.528 GB, free: 14.04 MB / 1.232 GB Notification: Performance of NFTyping.typeBindings: time 0.004975/0.5667, allocations: 2.077 MB / 1.53 GB, free: 11.95 MB / 1.232 GB Notification: Performance of NFTyping.typeClassSections: time 0.001992/0.5687, allocations: 0.7504 MB / 1.531 GB, free: 11.21 MB / 1.232 GB Notification: Performance of NFFlatten.flatten: time 0.002522/0.5713, allocations: 2.097 MB / 1.533 GB, free: 9.105 MB / 1.232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009429/0.5722, allocations: 0.6464 MB / 1.534 GB, free: 8.438 MB / 1.232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002867/0.5751, allocations: 1.561 MB / 1.535 GB, free: 6.871 MB / 1.232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001004/0.5761, allocations: 0.751 MB / 1.536 GB, free: 6.117 MB / 1.232 GB Notification: Performance of NFPackage.collectConstants: time 0.0001163/0.5762, allocations: 72 kB / 1.536 GB, free: 6.047 MB / 1.232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003314/0.5795, allocations: 2.034 MB / 1.538 GB, free: 4.008 MB / 1.232 GB Notification: Performance of NFScalarize.scalarize: time 0.0004049/0.5799, allocations: 358.8 kB / 1.538 GB, free: 3.656 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.0005445/0.5804, allocations: 0.5054 MB / 1.539 GB, free: 3.148 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.002832/0.5833, allocations: 1.849 MB / 1.541 GB, free: 1.293 MB / 1.232 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.5833, allocations: 3.938 kB / 1.541 GB, free: 1.289 MB / 1.232 GB Notification: Performance of FrontEnd: time 1.112e-06/0.5833, allocations: 4 kB / 1.541 GB, free: 1.285 MB / 1.232 GB Notification: Performance of Transformations before backend: time 3.702e-05/0.5833, allocations: 0 / 1.541 GB, free: 1.285 MB / 1.232 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.003784/0.5871, allocations: 1.459 MB / 1.542 GB, free: 15.77 MB / 1.248 GB Notification: Performance of prepare preOptimizeDAE: time 4.638e-05/0.5872, allocations: 15.98 kB / 1.542 GB, free: 15.76 MB / 1.248 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001465/0.5873, allocations: 122.5 kB / 1.542 GB, free: 15.63 MB / 1.248 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006457/0.5879, allocations: 159.2 kB / 1.542 GB, free: 15.47 MB / 1.248 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000894/0.5888, allocations: 0.5843 MB / 1.543 GB, free: 14.85 MB / 1.248 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.386e-05/0.5889, allocations: 50 kB / 1.543 GB, free: 14.8 MB / 1.248 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000111/0.589, allocations: 71.98 kB / 1.543 GB, free: 14.73 MB / 1.248 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001326/0.5903, allocations: 0.8626 MB / 1.544 GB, free: 13.84 MB / 1.248 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.138e-05/0.5903, allocations: 7.938 kB / 1.544 GB, free: 13.84 MB / 1.248 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.132e-05/0.5904, allocations: 24 kB / 1.544 GB, free: 13.81 MB / 1.248 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.187e-05/0.5905, allocations: 53.92 kB / 1.544 GB, free: 13.76 MB / 1.248 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001332/0.5918, allocations: 0.7767 MB / 1.545 GB, free: 12.98 MB / 1.248 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005467/0.5973, allocations: 4.511 MB / 1.549 GB, free: 7.926 MB / 1.248 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008182/0.5981, allocations: 393.1 kB / 1.55 GB, free: 7.535 MB / 1.248 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003275/0.5984, allocations: 173.4 kB / 1.55 GB, free: 7.363 MB / 1.248 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007378/0.5991, allocations: 0.76 MB / 1.55 GB, free: 6.438 MB / 1.248 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.416e-05/0.5992, allocations: 46.83 kB / 1.551 GB, free: 6.383 MB / 1.248 GB Notification: Performance of pre-optimization done (n=40): time 2.655e-06/0.5992, allocations: 0 / 1.551 GB, free: 6.383 MB / 1.248 GB Notification: Performance of matching and sorting (n=40): time 0.001445/0.6006, allocations: 0.6109 MB / 1.551 GB, free: 5.766 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.36e-05/0.6007, allocations: 59.41 kB / 1.551 GB, free: 5.695 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001242/0.6019, allocations: 0.8642 MB / 1.552 GB, free: 4.824 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 4.537e-05/0.602, allocations: 33.7 kB / 1.552 GB, free: 4.785 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003263/0.6023, allocations: 396.2 kB / 1.552 GB, free: 4.395 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001355/0.6024, allocations: 150.7 kB / 1.553 GB, free: 4.246 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001841/0.6026, allocations: 94.2 kB / 1.553 GB, free: 4.148 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.0001369/0.6027, allocations: 326 kB / 1.553 GB, free: 3.824 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003603/0.6031, allocations: 185 kB / 1.553 GB, free: 3.641 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004418/0.6035, allocations: 285.5 kB / 1.553 GB, free: 3.336 MB / 1.248 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007399/0.6043, allocations: 446.6 kB / 1.554 GB, free: 2.871 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/0.6043, allocations: 0 / 1.554 GB, free: 2.871 MB / 1.248 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001109/0.6054, allocations: 0.5902 MB / 1.554 GB, free: 2.273 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 1.892e-05/0.6054, allocations: 4 kB / 1.554 GB, free: 2.27 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.053e-05/0.6054, allocations: 4 kB / 1.554 GB, free: 2.266 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.07e-05/0.6054, allocations: 7.938 kB / 1.554 GB, free: 2.258 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004838/0.6059, allocations: 91.89 kB / 1.555 GB, free: 2.168 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.656e-05/0.6059, allocations: 15.92 kB / 1.555 GB, free: 2.152 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006153/0.6066, allocations: 75.39 kB / 1.555 GB, free: 2.078 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.273e-05/0.6066, allocations: 20 kB / 1.555 GB, free: 2.059 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.0003098/0.6069, allocations: 249.8 kB / 1.555 GB, free: 1.805 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001536/0.6071, allocations: 83.48 kB / 1.555 GB, free: 1.723 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001027/0.6081, allocations: 0.5553 MB / 1.555 GB, free: 1.156 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.877e-06/0.6081, allocations: 4 kB / 1.555 GB, free: 1.152 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.6081, allocations: 8 kB / 1.556 GB, free: 1.145 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.326e-06/0.6081, allocations: 4.031 kB / 1.556 GB, free: 1.141 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003336/0.6115, allocations: 2.123 MB / 1.558 GB, free: 14.84 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.356e-05/0.6115, allocations: 12.03 kB / 1.558 GB, free: 14.83 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004075/0.6119, allocations: 87.83 kB / 1.558 GB, free: 14.74 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.013e-05/0.6119, allocations: 8 kB / 1.558 GB, free: 14.73 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.819e-05/0.6119, allocations: 20 kB / 1.558 GB, free: 14.71 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.039e-05/0.612, allocations: 11.94 kB / 1.558 GB, free: 14.7 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.085e-06/0.612, allocations: 8 kB / 1.558 GB, free: 14.7 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001413/0.6134, allocations: 0.9821 MB / 1.559 GB, free: 13.62 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003137/0.6137, allocations: 220.5 kB / 1.559 GB, free: 13.39 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001289/0.6138, allocations: 23.98 kB / 1.559 GB, free: 13.36 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004834/0.6143, allocations: 12 kB / 1.559 GB, free: 13.35 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001026/0.6144, allocations: 55.77 kB / 1.559 GB, free: 13.3 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.588e-05/0.6144, allocations: 20 kB / 1.559 GB, free: 13.28 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.0007946/0.6152, allocations: 0.6278 MB / 1.56 GB, free: 12.65 MB / 1.264 GB Notification: Performance of sort global known variables: time 8e-08/0.6152, allocations: 0 / 1.56 GB, free: 12.65 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.0007408/0.616, allocations: 239.7 kB / 1.56 GB, free: 12.42 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.001934/0.6179, allocations: 1.661 MB / 1.561 GB, free: 10.65 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.0008268/0.6187, allocations: 446.6 kB / 1.562 GB, free: 10.21 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.6187, allocations: 0 / 1.562 GB, free: 10.21 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.0003807/0.6191, allocations: 221.4 kB / 1.562 GB, free: 9.996 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002132/0.6213, allocations: 0.4886 MB / 1.563 GB, free: 9.516 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008672/0.6299, allocations: 6.624 MB / 1.569 GB, free: 2.594 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006213/0.6305, allocations: 1.012 MB / 1.57 GB, free: 1.551 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.0006187/0.6312, allocations: 187 kB / 1.57 GB, free: 1.363 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004117/0.6316, allocations: 291.3 kB / 1.57 GB, free: 1.082 MB / 1.264 GB Notification: Performance of SimCode: time 7.31e-07/0.6316, allocations: 4 kB / 1.57 GB, free: 1.078 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05504/0.6866, allocations: 24.35 MB / 1.594 GB, free: 9.059 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.008/9.695, allocations: 18.25 kB / 1.594 GB, free: 9.043 MB / 1.295 GB " [Timeout remaining time 290] (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: 16.47311306395568]