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.001338/0.001338, allocations: 114.8 kB / 17.16 MB, free: 5.895 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.001449/0.001449, allocations: 210.3 kB / 20.13 MB, free: 2.949 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.448/1.448, allocations: 230.6 MB / 253.5 MB, free: 15.09 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.832/2.832, allocations: 0.49 GB / 0.7923 GB, free: 1.453 MB / 0.6231 GB " [Timeout remaining time 176] 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.001988/0.001988, allocations: 67.89 kB / 1.149 GB, free: 15.43 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9232/0.9252, allocations: 176.1 MB / 1.321 GB, free: 24.73 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Validation.DoorOpenClosed): time 0.261/1.186, allocations: 202.3 MB / 1.519 GB, free: 14.99 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.01436/1.201, allocations: 9.512 MB / 1.528 GB, free: 5.449 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001353/1.202, allocations: 27.81 kB / 1.528 GB, free: 5.422 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.002223/1.204, allocations: 0.6332 MB / 1.529 GB, free: 4.785 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.006323/1.21, allocations: 2.085 MB / 1.531 GB, free: 2.691 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.002729/1.213, allocations: 0.7504 MB / 1.532 GB, free: 1.945 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.003764/1.217, allocations: 2.093 MB / 1.534 GB, free: 15.85 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001599/1.219, allocations: 0.6503 MB / 1.534 GB, free: 15.18 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004848/1.223, allocations: 1.553 MB / 1.536 GB, free: 13.62 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001705/1.225, allocations: 0.7704 MB / 1.537 GB, free: 12.84 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.000301/1.225, allocations: 72 kB / 1.537 GB, free: 12.77 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004901/1.23, allocations: 2.015 MB / 1.539 GB, free: 10.75 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.0006545/1.231, allocations: 366.8 kB / 1.539 GB, free: 10.39 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.001194/1.232, allocations: 0.4976 MB / 1.54 GB, free: 9.895 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.004472/1.237, allocations: 1.857 MB / 1.541 GB, free: 8.031 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/1.237, allocations: 0 / 1.541 GB, free: 8.031 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.633e-06/1.237, allocations: 0 / 1.541 GB, free: 8.031 MB / 1.217 GB Notification: Performance of Transformations before backend: time 4.719e-05/1.237, allocations: 0 / 1.541 GB, free: 8.031 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.004309/1.241, allocations: 1.459 MB / 1.543 GB, free: 6.52 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 4.711e-05/1.241, allocations: 15.98 kB / 1.543 GB, free: 6.504 MB / 1.217 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.172e-05/1.241, allocations: 18 kB / 1.543 GB, free: 6.484 MB / 1.217 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001988/1.241, allocations: 122.5 kB / 1.543 GB, free: 6.355 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007533/1.242, allocations: 163.2 kB / 1.543 GB, free: 6.195 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001129/1.243, allocations: 0.5805 MB / 1.544 GB, free: 5.574 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.601e-05/1.243, allocations: 53.98 kB / 1.544 GB, free: 5.523 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001264/1.243, allocations: 68 kB / 1.544 GB, free: 5.457 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001555/1.245, allocations: 0.8665 MB / 1.545 GB, free: 4.566 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.323e-05/1.245, allocations: 0 / 1.545 GB, free: 4.566 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.702e-05/1.245, allocations: 27.98 kB / 1.545 GB, free: 4.539 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.759e-05/1.245, allocations: 49.98 kB / 1.545 GB, free: 4.492 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001498/1.247, allocations: 0.7689 MB / 1.545 GB, free: 3.723 MB / 1.217 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006454/1.253, allocations: 4.523 MB / 1.55 GB, free: 14.66 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008226/1.254, allocations: 398.2 kB / 1.55 GB, free: 14.27 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003406/1.254, allocations: 177.4 kB / 1.55 GB, free: 14.09 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009319/1.255, allocations: 0.7561 MB / 1.551 GB, free: 13.17 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.05e-05/1.255, allocations: 42.89 kB / 1.551 GB, free: 13.12 MB / 1.232 GB Notification: Performance of pre-optimization done (n=40): time 2.825e-06/1.255, allocations: 3.938 kB / 1.551 GB, free: 13.11 MB / 1.232 GB Notification: Performance of matching and sorting (n=40): time 0.001453/1.257, allocations: 0.607 MB / 1.552 GB, free: 12.5 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.33e-05/1.257, allocations: 59.34 kB / 1.552 GB, free: 12.43 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001268/1.258, allocations: 0.868 MB / 1.553 GB, free: 11.55 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 5.263e-05/1.258, allocations: 37.7 kB / 1.553 GB, free: 11.51 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003509/1.258, allocations: 392.2 kB / 1.553 GB, free: 11.12 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001389/1.258, allocations: 146.8 kB / 1.553 GB, free: 10.98 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001847/1.259, allocations: 94.2 kB / 1.553 GB, free: 10.88 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0001915/1.259, allocations: 333.9 kB / 1.554 GB, free: 10.55 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003799/1.259, allocations: 185 kB / 1.554 GB, free: 10.36 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004508/1.26, allocations: 277.6 kB / 1.554 GB, free: 10.07 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008482/1.26, allocations: 450.6 kB / 1.555 GB, free: 9.602 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.94e-06/1.26, allocations: 4 kB / 1.555 GB, free: 9.598 MB / 1.232 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001178/1.262, allocations: 0.5824 MB / 1.555 GB, free: 9.008 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 2.324e-05/1.262, allocations: 7.984 kB / 1.555 GB, free: 9 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.198e-05/1.262, allocations: 7.938 kB / 1.555 GB, free: 8.992 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.15e-05/1.262, allocations: 4 kB / 1.555 GB, free: 8.988 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005273/1.262, allocations: 99.83 kB / 1.555 GB, free: 8.891 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.439e-05/1.262, allocations: 4 kB / 1.555 GB, free: 8.887 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006995/1.263, allocations: 83.33 kB / 1.555 GB, free: 8.805 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.822e-05/1.263, allocations: 20 kB / 1.555 GB, free: 8.785 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.0003473/1.263, allocations: 249.8 kB / 1.556 GB, free: 8.531 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001795/1.264, allocations: 83.48 kB / 1.556 GB, free: 8.449 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001143/1.265, allocations: 0.5515 MB / 1.556 GB, free: 7.883 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.544e-06/1.265, allocations: 4 kB / 1.556 GB, free: 7.879 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/1.265, allocations: 4 kB / 1.556 GB, free: 7.875 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.686e-06/1.265, allocations: 4 kB / 1.556 GB, free: 7.871 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003814/1.269, allocations: 2.115 MB / 1.558 GB, free: 5.582 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.425e-05/1.269, allocations: 12.03 kB / 1.558 GB, free: 5.57 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004183/1.269, allocations: 91.88 kB / 1.558 GB, free: 5.48 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.571e-05/1.269, allocations: 11.98 kB / 1.558 GB, free: 5.469 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.109e-05/1.269, allocations: 20 kB / 1.558 GB, free: 5.449 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-05/1.269, allocations: 15.92 kB / 1.558 GB, free: 5.434 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.283e-06/1.269, allocations: 8 kB / 1.558 GB, free: 5.426 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001512/1.271, allocations: 0.9776 MB / 1.559 GB, free: 4.355 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003729/1.271, allocations: 224.4 kB / 1.56 GB, free: 4.117 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001512/1.271, allocations: 12.06 kB / 1.56 GB, free: 4.105 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005229/1.272, allocations: 27.98 kB / 1.56 GB, free: 4.078 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001144/1.272, allocations: 59.64 kB / 1.56 GB, free: 4.02 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.764e-05/1.272, allocations: 20 kB / 1.56 GB, free: 4 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.001005/1.273, allocations: 0.6239 MB / 1.56 GB, free: 3.383 MB / 1.232 GB Notification: Performance of sort global known variables: time 1e-07/1.273, allocations: 3.938 kB / 1.56 GB, free: 3.379 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.0008782/1.274, allocations: 251.6 kB / 1.561 GB, free: 3.133 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.002219/1.276, allocations: 1.641 MB / 1.562 GB, free: 1.383 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.0009596/1.277, allocations: 442.8 kB / 1.563 GB, free: 0.9453 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 3.297e-06/1.277, allocations: 0 / 1.563 GB, free: 0.9453 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.0004029/1.277, allocations: 221.4 kB / 1.563 GB, free: 0.7305 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002289/1.28, allocations: 496.3 kB / 1.563 GB, free: 252 kB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009957/1.289, allocations: 6.628 MB / 1.57 GB, free: 9.324 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007021/1.29, allocations: 1.008 MB / 1.571 GB, free: 8.285 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.0007026/1.291, allocations: 179.1 kB / 1.571 GB, free: 8.105 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000465/1.291, allocations: 295.3 kB / 1.571 GB, free: 7.82 MB / 1.248 GB Notification: Performance of SimCode: time 9.92e-07/1.291, allocations: 4 kB / 1.571 GB, free: 7.816 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05794/1.349, allocations: 24.41 MB / 1.595 GB, free: 15.76 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.908/11.26, allocations: 7.688 kB / 1.595 GB, free: 15.75 MB / 1.279 GB " [Timeout remaining time 289] (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: 17.68221977399662]