Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Airflow.Multizone.Validation.OneWayFlow.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.001345/0.001345, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001636/0.001636, allocations: 213.4 kB / 22.24 MB, free: 4.852 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.476/1.476, allocations: 230.6 MB / 256 MB, free: 7.797 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.355/3.355, allocations: 0.4892 GB / 0.7943 GB, free: 35.6 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.OneWayFlow,fileNamePrefix="Buildings_12_Buildings_Airflow_Multizone_Validation_OneWayFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Validation.OneWayFlow,fileNamePrefix="Buildings_12_Buildings_Airflow_Multizone_Validation_OneWayFlow",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.002988/0.002988, allocations: 67.5 kB / 1.153 GB, free: 25.73 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3891/0.3921, allocations: 176.1 MB / 1.325 GB, free: 2.328 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Validation.OneWayFlow): time 0.2643/0.6564, allocations: 193.4 MB / 1.514 GB, free: 240 kB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.03551/0.6919, allocations: 24.34 MB / 1.538 GB, free: 7.824 MB / 1.232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002524/0.6945, allocations: 43.69 kB / 1.538 GB, free: 7.781 MB / 1.232 GB Notification: Performance of NFTyping.typeComponents: time 0.003639/0.6981, allocations: 1.127 MB / 1.539 GB, free: 6.648 MB / 1.232 GB Notification: Performance of NFTyping.typeBindings: time 0.01004/0.7081, allocations: 3.224 MB / 1.542 GB, free: 3.414 MB / 1.232 GB Notification: Performance of NFTyping.typeClassSections: time 0.005911/0.7141, allocations: 1.728 MB / 1.544 GB, free: 1.688 MB / 1.232 GB Notification: Performance of NFFlatten.flatten: time 0.006957/0.721, allocations: 3.837 MB / 1.547 GB, free: 13.84 MB / 1.248 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003306/0.7243, allocations: 1.121 MB / 1.549 GB, free: 12.68 MB / 1.248 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007131/0.7315, allocations: 2.397 MB / 1.551 GB, free: 10.27 MB / 1.248 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003355/0.7348, allocations: 1.467 MB / 1.552 GB, free: 8.801 MB / 1.248 GB Notification: Performance of NFPackage.collectConstants: time 0.000636/0.7354, allocations: 124 kB / 1.552 GB, free: 8.68 MB / 1.248 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00511/0.7406, allocations: 1.578 MB / 1.554 GB, free: 7.098 MB / 1.248 GB Notification: Performance of NFScalarize.scalarize: time 0.001541/0.7421, allocations: 0.8721 MB / 1.555 GB, free: 6.223 MB / 1.248 GB Notification: Performance of NFVerifyModel.verify: time 0.002363/0.7445, allocations: 0.9557 MB / 1.556 GB, free: 5.262 MB / 1.248 GB Notification: Performance of NFConvertDAE.convert: time 0.007132/0.7516, allocations: 3.042 MB / 1.559 GB, free: 2.207 MB / 1.248 GB Notification: Performance of FrontEnd - DAE generated: time 9.177e-06/0.7516, allocations: 3.984 kB / 1.559 GB, free: 2.203 MB / 1.248 GB Notification: Performance of FrontEnd: time 2.585e-06/0.7516, allocations: 0 / 1.559 GB, free: 2.203 MB / 1.248 GB Notification: Performance of Transformations before backend: time 0.0001354/0.7517, allocations: 0 / 1.559 GB, free: 2.203 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: 343 * Number of variables: 343 Notification: Performance of Generate backend data structure: time 0.007041/0.7588, allocations: 2.889 MB / 1.562 GB, free: 15.27 MB / 1.264 GB Notification: Performance of prepare preOptimizeDAE: time 4.678e-05/0.7588, allocations: 12.03 kB / 1.562 GB, free: 15.25 MB / 1.264 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004107/0.7592, allocations: 194.6 kB / 1.562 GB, free: 15.05 MB / 1.264 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002281/0.7615, allocations: 465.8 kB / 1.562 GB, free: 14.6 MB / 1.264 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005462/0.767, allocations: 2.71 MB / 1.565 GB, free: 11.83 MB / 1.264 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001382/0.7671, allocations: 94.53 kB / 1.565 GB, free: 11.74 MB / 1.264 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004038/0.7675, allocations: 124 kB / 1.565 GB, free: 11.62 MB / 1.264 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00358/0.7711, allocations: 1.599 MB / 1.567 GB, free: 9.875 MB / 1.264 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.863e-05/0.7712, allocations: 15.89 kB / 1.567 GB, free: 9.859 MB / 1.264 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000155/0.7713, allocations: 52 kB / 1.567 GB, free: 9.809 MB / 1.264 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001345/0.7715, allocations: 89.91 kB / 1.567 GB, free: 9.719 MB / 1.264 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002288/0.7737, allocations: 1.065 MB / 1.568 GB, free: 8.652 MB / 1.264 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01127/0.785, allocations: 6.854 MB / 1.574 GB, free: 1.582 MB / 1.264 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001327/0.7863, allocations: 0.709 MB / 1.575 GB, free: 0.8281 MB / 1.264 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005485/0.7869, allocations: 292.1 kB / 1.575 GB, free: 0.5273 MB / 1.264 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003939/0.7873, allocations: 91.92 kB / 1.576 GB, free: 448 kB / 1.264 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.665e-05/0.7873, allocations: 42.5 kB / 1.576 GB, free: 396 kB / 1.264 GB Notification: Performance of pre-optimization done (n=50): time 2.755e-06/0.7873, allocations: 0 / 1.576 GB, free: 396 kB / 1.264 GB Notification: Performance of matching and sorting (n=50): time 0.002357/0.7897, allocations: 0.9856 MB / 1.577 GB, free: 15.39 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001203/0.7898, allocations: 170.2 kB / 1.577 GB, free: 15.19 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007106/0.7969, allocations: 4.698 MB / 1.581 GB, free: 10.48 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 0.000112/0.797, allocations: 33.7 kB / 1.581 GB, free: 10.45 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.001123/0.7981, allocations: 1.075 MB / 1.582 GB, free: 9.363 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002214/0.7984, allocations: 186.4 kB / 1.583 GB, free: 9.18 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001672/0.7985, allocations: 94.14 kB / 1.583 GB, free: 9.082 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 0.0001851/0.7987, allocations: 330 kB / 1.583 GB, free: 8.754 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004389/0.7992, allocations: 221 kB / 1.583 GB, free: 8.539 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005692/0.7997, allocations: 373.6 kB / 1.584 GB, free: 8.129 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009392/0.8007, allocations: 0.5522 MB / 1.584 GB, free: 7.543 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.539e-06/0.8007, allocations: 3.938 kB / 1.584 GB, free: 7.539 MB / 1.279 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001998/0.8027, allocations: 0.8159 MB / 1.585 GB, free: 6.715 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 2.173e-05/0.8027, allocations: 7.938 kB / 1.585 GB, free: 6.707 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.512e-05/0.8027, allocations: 4.25 kB / 1.585 GB, free: 6.703 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.685e-05/0.8027, allocations: 8 kB / 1.585 GB, free: 6.695 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004513/0.8032, allocations: 107.8 kB / 1.585 GB, free: 6.59 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.278e-05/0.8032, allocations: 8 kB / 1.585 GB, free: 6.582 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001165/0.8044, allocations: 95.17 kB / 1.585 GB, free: 6.488 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.969e-05/0.8044, allocations: 24 kB / 1.585 GB, free: 6.465 MB / 1.279 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (58): * Single equations (assignments): 58 * 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.001153/0.8056, allocations: 0.5404 MB / 1.586 GB, free: 5.914 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005425/0.8061, allocations: 250.3 kB / 1.586 GB, free: 5.668 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001488/0.8076, allocations: 0.8042 MB / 1.587 GB, free: 4.852 MB / 1.279 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.059e-05/0.8076, allocations: 12.05 kB / 1.587 GB, free: 4.84 MB / 1.279 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.065e-06/0.8076, allocations: 3.938 kB / 1.587 GB, free: 4.836 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.793e-06/0.8076, allocations: 7.938 kB / 1.587 GB, free: 4.828 MB / 1.279 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003857/0.8115, allocations: 1.916 MB / 1.589 GB, free: 2.84 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.368e-06/0.8115, allocations: 0 / 1.589 GB, free: 2.84 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004558/0.8119, allocations: 104 kB / 1.589 GB, free: 2.738 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.798e-06/0.812, allocations: 4 kB / 1.589 GB, free: 2.734 MB / 1.279 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.052e-05/0.812, allocations: 19.98 kB / 1.589 GB, free: 2.715 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.265e-06/0.812, allocations: 4 kB / 1.589 GB, free: 2.711 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.812, allocations: 0 / 1.589 GB, free: 2.711 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002091/0.8141, allocations: 1.283 MB / 1.59 GB, free: 1.395 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001009/0.8151, allocations: 358.1 kB / 1.59 GB, free: 1.043 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002321/0.8153, allocations: 16 kB / 1.59 GB, free: 1.027 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006744/0.816, allocations: 19.98 kB / 1.59 GB, free: 1.008 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001003/0.8161, allocations: 44.31 kB / 1.59 GB, free: 0.9648 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.926e-05/0.8161, allocations: 16 kB / 1.59 GB, free: 0.9492 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.004843/0.821, allocations: 3.522 MB / 1.594 GB, free: 13.42 MB / 1.295 GB Notification: Performance of sort global known variables: time 2e-07/0.821, allocations: 0 / 1.594 GB, free: 13.42 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.001592/0.8226, allocations: 479.1 kB / 1.594 GB, free: 12.95 MB / 1.295 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 8 (ela.mExc,ori.mExc,pow_1dat.mExc,pow_2dat.mExc,pow_m_flow.mExc,pow_V_flow.mExc,tabDat_m_flow.mExc,tabDat_V_flow.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 (53): * Single equations (assignments): 53 * 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.004454/0.827, allocations: 2.272 MB / 1.596 GB, free: 10.78 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.001117/0.8281, allocations: 0.5177 MB / 1.597 GB, free: 10.27 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 4.529e-06/0.8281, allocations: 0 / 1.597 GB, free: 10.27 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.0005014/0.8287, allocations: 287.1 kB / 1.597 GB, free: 9.988 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004393/0.833, allocations: 0.8567 MB / 1.598 GB, free: 9.133 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.7402/1.573, allocations: 19.41 MB / 1.617 GB, free: 278.4 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001737/1.575, allocations: 1.068 MB / 1.618 GB, free: 278.2 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.001617/1.577, allocations: 467.4 kB / 1.619 GB, free: 278.1 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001184/1.578, allocations: 0.9435 MB / 1.619 GB, free: 277.4 MB / 1.295 GB Notification: Performance of SimCode: time 1.363e-06/1.578, allocations: 2.344 kB / 1.619 GB, free: 277.4 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1067/1.684, allocations: 50.55 MB / 1.669 GB, free: 242.5 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.49/16.17, allocations: 5.531 kB / 1.669 GB, free: 242.5 MB / 1.295 GB " [Timeout remaining time 284] (rm -f Buildings_12_Buildings.Airflow.Multizone.Validation.OneWayFlow.pipe ; mkfifo Buildings_12_Buildings.Airflow.Multizone.Validation.OneWayFlow.pipe ; head -c 1048576 < Buildings_12_Buildings.Airflow.Multizone.Validation.OneWayFlow.pipe >> ../files/Buildings_12_Buildings.Airflow.Multizone.Validation.OneWayFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Airflow.Multizone.Validation.OneWayFlow_res.mat --tempDir=temp_Buildings_12_Buildings_Airflow_Multizone_Validation_OneWayFlow_fmu --startTime=0 --stopTime=500 --stepSize=1 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Airflow_Multizone_Validation_OneWayFlow.fmu > Buildings_12_Buildings.Airflow.Multizone.Validation.OneWayFlow.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Airflow.Multizone.Validation.OneWayFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Airflow_Multizone_Validation_OneWayFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Airflow.Multizone.Validation.OneWayFlow.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: 23.351470449008048]