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.00182/0.00182, allocations: 114.3 kB / 18.94 MB, free: 2.957 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.002321/0.002321, allocations: 213.8 kB / 22.25 MB, free: 5.117 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.377/1.377, allocations: 230.6 MB / 256 MB, free: 8.203 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.953/2.953, allocations: 0.49 GB / 0.7951 GB, free: 33.23 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.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.001905/0.001905, allocations: 66.66 kB / 1.154 GB, free: 25.77 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3134/0.3154, allocations: 176.1 MB / 1.326 GB, free: 1.938 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Validation.OneWayFlow): time 0.2472/0.5625, allocations: 222.6 MB / 1.543 GB, free: 2.508 MB / 1.232 GB Notification: Performance of NFInst.instExpressions: time 0.03624/0.5988, allocations: 26.94 MB / 1.57 GB, free: 7.488 MB / 1.264 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001782/0.6005, allocations: 43.69 kB / 1.57 GB, free: 7.445 MB / 1.264 GB Notification: Performance of NFTyping.typeComponents: time 0.003135/0.6037, allocations: 1.197 MB / 1.571 GB, free: 6.242 MB / 1.264 GB Notification: Performance of NFTyping.typeBindings: time 0.008075/0.6118, allocations: 3.272 MB / 1.574 GB, free: 2.961 MB / 1.264 GB Notification: Performance of NFTyping.typeClassSections: time 0.004463/0.6162, allocations: 1.732 MB / 1.576 GB, free: 1.23 MB / 1.264 GB Notification: Performance of NFFlatten.flatten: time 0.005356/0.6216, allocations: 3.845 MB / 1.579 GB, free: 13.38 MB / 1.279 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002245/0.6238, allocations: 1.14 MB / 1.581 GB, free: 12.2 MB / 1.279 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005118/0.6289, allocations: 2.394 MB / 1.583 GB, free: 9.797 MB / 1.279 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002717/0.6317, allocations: 1.537 MB / 1.584 GB, free: 8.254 MB / 1.279 GB Notification: Performance of NFPackage.collectConstants: time 0.0004327/0.6321, allocations: 124 kB / 1.584 GB, free: 8.133 MB / 1.279 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004215/0.6363, allocations: 1.917 MB / 1.586 GB, free: 6.211 MB / 1.279 GB Notification: Performance of NFScalarize.scalarize: time 0.001143/0.6374, allocations: 0.8683 MB / 1.587 GB, free: 5.34 MB / 1.279 GB Notification: Performance of NFVerifyModel.verify: time 0.00216/0.6396, allocations: 1.177 MB / 1.588 GB, free: 4.156 MB / 1.279 GB Notification: Performance of NFConvertDAE.convert: time 0.005639/0.6452, allocations: 3.042 MB / 1.591 GB, free: 1.105 MB / 1.279 GB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.6452, allocations: 0 / 1.591 GB, free: 1.105 MB / 1.279 GB Notification: Performance of FrontEnd: time 1.433e-06/0.6452, allocations: 0 / 1.591 GB, free: 1.105 MB / 1.279 GB Notification: Performance of Transformations before backend: time 0.0001009/0.6453, allocations: 7.875 kB / 1.591 GB, free: 1.098 MB / 1.279 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.00555/0.6509, allocations: 2.881 MB / 1.594 GB, free: 14.16 MB / 1.295 GB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.6509, allocations: 8.031 kB / 1.594 GB, free: 14.16 MB / 1.295 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003187/0.6513, allocations: 198.6 kB / 1.594 GB, free: 13.95 MB / 1.295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001893/0.6531, allocations: 465.6 kB / 1.595 GB, free: 13.5 MB / 1.295 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004104/0.6573, allocations: 2.706 MB / 1.597 GB, free: 10.74 MB / 1.295 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001104/0.6574, allocations: 98.52 kB / 1.598 GB, free: 10.64 MB / 1.295 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002728/0.6576, allocations: 128 kB / 1.598 GB, free: 10.52 MB / 1.295 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002806/0.6604, allocations: 1.591 MB / 1.599 GB, free: 8.781 MB / 1.295 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.847e-05/0.6605, allocations: 15.89 kB / 1.599 GB, free: 8.766 MB / 1.295 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001014/0.6606, allocations: 55.98 kB / 1.599 GB, free: 8.711 MB / 1.295 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001201/0.6607, allocations: 101.9 kB / 1.599 GB, free: 8.609 MB / 1.295 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001982/0.6627, allocations: 1.06 MB / 1.6 GB, free: 7.551 MB / 1.295 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6389/1.302, allocations: 8.358 MB / 1.609 GB, free: 281.2 MB / 1.295 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001119/1.303, allocations: 0.708 MB / 1.609 GB, free: 281.1 MB / 1.295 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004501/1.303, allocations: 288.3 kB / 1.61 GB, free: 281 MB / 1.295 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003534/1.303, allocations: 87.56 kB / 1.61 GB, free: 281 MB / 1.295 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.06e-05/1.304, allocations: 44.95 kB / 1.61 GB, free: 281 MB / 1.295 GB Notification: Performance of pre-optimization done (n=50): time 2.244e-06/1.304, allocations: 0 / 1.61 GB, free: 281 MB / 1.295 GB Notification: Performance of matching and sorting (n=50): time 0.0019/1.305, allocations: 0.985 MB / 1.611 GB, free: 281 MB / 1.295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.545e-05/1.305, allocations: 165.8 kB / 1.611 GB, free: 280.8 MB / 1.295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005566/1.311, allocations: 4.704 MB / 1.615 GB, free: 279.7 MB / 1.295 GB Notification: Performance of collectPreVariables (initialization): time 7.348e-05/1.311, allocations: 33.2 kB / 1.615 GB, free: 279.7 MB / 1.295 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007014/1.312, allocations: 1.078 MB / 1.616 GB, free: 279 MB / 1.295 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001317/1.312, allocations: 189.5 kB / 1.617 GB, free: 278.8 MB / 1.295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001453/1.312, allocations: 95.09 kB / 1.617 GB, free: 278.8 MB / 1.295 GB Notification: Performance of setup shared object (initialization): time 5.533e-05/1.312, allocations: 325.6 kB / 1.617 GB, free: 278.5 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004105/1.313, allocations: 220.4 kB / 1.617 GB, free: 278.4 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005331/1.313, allocations: 328 kB / 1.618 GB, free: 278.3 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008981/1.314, allocations: 0.5514 MB / 1.618 GB, free: 278 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.709e-06/1.314, allocations: 1.406 kB / 1.618 GB, free: 278 MB / 1.295 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001685/1.316, allocations: 0.8182 MB / 1.619 GB, free: 277.7 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 2.369e-05/1.316, allocations: 6.156 kB / 1.619 GB, free: 277.7 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.878e-06/1.316, allocations: 2.766 kB / 1.619 GB, free: 277.7 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.643e-05/1.316, allocations: 7.844 kB / 1.619 GB, free: 277.7 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004433/1.316, allocations: 106.5 kB / 1.619 GB, free: 277.7 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.407e-05/1.316, allocations: 8.641 kB / 1.619 GB, free: 277.7 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009213/1.317, allocations: 101.5 kB / 1.619 GB, free: 277.7 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.363e-05/1.317, allocations: 23.05 kB / 1.619 GB, free: 277.7 MB / 1.295 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.0009364/1.318, allocations: 0.5406 MB / 1.62 GB, free: 277.5 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00046/1.319, allocations: 248.7 kB / 1.62 GB, free: 277.3 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001326/1.32, allocations: 0.8083 MB / 1.621 GB, free: 277.1 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.835e-06/1.32, allocations: 6.125 kB / 1.621 GB, free: 277.1 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.213e-06/1.32, allocations: 1.641 kB / 1.621 GB, free: 277.1 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.306e-06/1.32, allocations: 4.922 kB / 1.621 GB, free: 277.1 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003006/1.323, allocations: 2.067 MB / 1.623 GB, free: 276.1 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.568e-06/1.323, allocations: 2.438 kB / 1.623 GB, free: 276.1 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004087/1.323, allocations: 97.23 kB / 1.623 GB, free: 276.1 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.636e-06/1.323, allocations: 3.375 kB / 1.623 GB, free: 276.1 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.393e-05/1.323, allocations: 17.5 kB / 1.623 GB, free: 276.1 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.542e-06/1.323, allocations: 3.688 kB / 1.623 GB, free: 276.1 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/1.323, allocations: 6.156 kB / 1.623 GB, free: 276.1 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001698/1.325, allocations: 1.288 MB / 1.624 GB, free: 275.5 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008455/1.326, allocations: 358.4 kB / 1.624 GB, free: 275.3 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002375/1.326, allocations: 12.7 kB / 1.624 GB, free: 275.3 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006226/1.327, allocations: 18.16 kB / 1.624 GB, free: 275.3 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.128e-05/1.327, allocations: 44.3 kB / 1.625 GB, free: 275.3 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.087e-05/1.327, allocations: 21.28 kB / 1.625 GB, free: 275.3 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.004392/1.331, allocations: 3.519 MB / 1.628 GB, free: 274.2 MB / 1.295 GB Notification: Performance of sort global known variables: time 4.41e-07/1.331, allocations: 4.688 kB / 1.628 GB, free: 274.2 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.001474/1.333, allocations: 475.2 kB / 1.628 GB, free: 274.1 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.00357/1.336, allocations: 2.246 MB / 1.631 GB, free: 273 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.0009779/1.337, allocations: 0.5172 MB / 1.631 GB, free: 272.9 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 4.548e-06/1.337, allocations: 3.906 kB / 1.631 GB, free: 272.9 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.0004585/1.338, allocations: 287.2 kB / 1.631 GB, free: 272.8 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004054/1.342, allocations: 0.8591 MB / 1.632 GB, free: 272.5 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02385/1.366, allocations: 19.41 MB / 1.651 GB, free: 261.1 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001077/1.367, allocations: 1.647 MB / 1.653 GB, free: 259.4 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.001339/1.368, allocations: 474.1 kB / 1.653 GB, free: 258.9 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008962/1.369, allocations: 0.9445 MB / 1.654 GB, free: 258 MB / 1.295 GB Notification: Performance of SimCode: time 9.21e-07/1.369, allocations: 0 / 1.654 GB, free: 258 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07951/1.449, allocations: 47.24 MB / 1.7 GB, free: 211.3 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.49/16.93, allocations: 3.453 kB / 1.7 GB, free: 211.3 MB / 1.295 GB " [Timeout remaining time 283] (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.31226036301814]