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.001604/0.001604, allocations: 110.2 kB / 16.46 MB, free: 6.508 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.001952/0.001952, allocations: 213.7 kB / 19.43 MB, free: 3.648 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.41/1.41, allocations: 230.6 MB / 252.8 MB, free: 9.125 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.03/3.03, allocations: 0.49 GB / 0.7916 GB, free: 33.3 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.001966/0.001966, allocations: 68.75 kB / 1.149 GB, free: 26.38 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3159/0.3178, allocations: 176.1 MB / 1.321 GB, free: 3.32 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Validation.OneWayFlow): time 0.2437/0.5615, allocations: 222.1 MB / 1.538 GB, free: 4.367 MB / 1.232 GB Notification: Performance of NFInst.instExpressions: time 0.03535/0.5969, allocations: 26.77 MB / 1.564 GB, free: 9.508 MB / 1.264 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002067/0.599, allocations: 43.69 kB / 1.564 GB, free: 9.465 MB / 1.264 GB Notification: Performance of NFTyping.typeComponents: time 0.003374/0.6023, allocations: 1.193 MB / 1.565 GB, free: 8.266 MB / 1.264 GB Notification: Performance of NFTyping.typeBindings: time 0.009161/0.6115, allocations: 3.239 MB / 1.568 GB, free: 5.016 MB / 1.264 GB Notification: Performance of NFTyping.typeClassSections: time 0.005003/0.6165, allocations: 1.676 MB / 1.57 GB, free: 3.344 MB / 1.264 GB Notification: Performance of NFFlatten.flatten: time 0.005678/0.6222, allocations: 3.826 MB / 1.574 GB, free: 15.51 MB / 1.279 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002106/0.6243, allocations: 1.226 MB / 1.575 GB, free: 14.25 MB / 1.279 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005336/0.6296, allocations: 2.37 MB / 1.577 GB, free: 11.87 MB / 1.279 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002701/0.6323, allocations: 1.537 MB / 1.579 GB, free: 10.33 MB / 1.279 GB Notification: Performance of NFPackage.collectConstants: time 0.0002288/0.6325, allocations: 128 kB / 1.579 GB, free: 10.2 MB / 1.279 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004007/0.6365, allocations: 1.882 MB / 1.581 GB, free: 8.316 MB / 1.279 GB Notification: Performance of NFScalarize.scalarize: time 0.0009071/0.6375, allocations: 0.8683 MB / 1.581 GB, free: 7.445 MB / 1.279 GB Notification: Performance of NFVerifyModel.verify: time 0.001387/0.6388, allocations: 1.177 MB / 1.583 GB, free: 6.262 MB / 1.279 GB Notification: Performance of NFConvertDAE.convert: time 0.004478/0.6433, allocations: 3.027 MB / 1.586 GB, free: 3.223 MB / 1.279 GB Notification: Performance of FrontEnd - DAE generated: time 6.623e-06/0.6433, allocations: 4 kB / 1.586 GB, free: 3.219 MB / 1.279 GB Notification: Performance of FrontEnd: time 2.174e-06/0.6433, allocations: 0 / 1.586 GB, free: 3.219 MB / 1.279 GB Notification: Performance of Transformations before backend: time 2.806e-05/0.6434, allocations: 0 / 1.586 GB, free: 3.219 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.00452/0.6479, allocations: 2.96 MB / 1.588 GB, free: 196 kB / 1.279 GB Notification: Performance of prepare preOptimizeDAE: time 4.497e-05/0.6479, allocations: 15.98 kB / 1.588 GB, free: 180 kB / 1.279 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002326/0.6482, allocations: 202.6 kB / 1.589 GB, free: 15.96 MB / 1.295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001742/0.6499, allocations: 461.7 kB / 1.589 GB, free: 15.52 MB / 1.295 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00338/0.6533, allocations: 2.79 MB / 1.592 GB, free: 12.66 MB / 1.295 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.515e-05/0.6534, allocations: 94.53 kB / 1.592 GB, free: 12.56 MB / 1.295 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001731/0.6535, allocations: 128 kB / 1.592 GB, free: 12.44 MB / 1.295 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002274/0.6558, allocations: 1.591 MB / 1.594 GB, free: 10.7 MB / 1.295 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.722e-05/0.6558, allocations: 11.89 kB / 1.594 GB, free: 10.69 MB / 1.295 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001046/0.656, allocations: 59.98 kB / 1.594 GB, free: 10.63 MB / 1.295 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001073/0.6561, allocations: 85.97 kB / 1.594 GB, free: 10.55 MB / 1.295 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001698/0.6578, allocations: 1.072 MB / 1.595 GB, free: 9.477 MB / 1.295 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008716/0.6665, allocations: 8.458 MB / 1.603 GB, free: 0.5156 MB / 1.295 GB Notification: Performance of preOpt comSubExp (simulation): time 0.6021/1.269, allocations: 0.6964 MB / 1.604 GB, free: 283.4 MB / 1.295 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005326/1.269, allocations: 296.6 kB / 1.604 GB, free: 283.3 MB / 1.295 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004492/1.27, allocations: 0.6079 MB / 1.605 GB, free: 282.7 MB / 1.295 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.403e-05/1.27, allocations: 44.52 kB / 1.605 GB, free: 282.7 MB / 1.295 GB Notification: Performance of pre-optimization done (n=50): time 2.414e-06/1.27, allocations: 0 / 1.605 GB, free: 282.7 MB / 1.295 GB Notification: Performance of matching and sorting (n=50): time 0.002018/1.272, allocations: 0.9901 MB / 1.606 GB, free: 282.6 MB / 1.295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.146e-05/1.272, allocations: 162.1 kB / 1.606 GB, free: 282.4 MB / 1.295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005712/1.277, allocations: 4.703 MB / 1.61 GB, free: 281.4 MB / 1.295 GB Notification: Performance of collectPreVariables (initialization): time 5.703e-05/1.277, allocations: 33.2 kB / 1.61 GB, free: 281.4 MB / 1.295 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006726/1.278, allocations: 1.077 MB / 1.611 GB, free: 280.7 MB / 1.295 GB Notification: Performance of collectInitialBindings (initialization): time 0.000132/1.278, allocations: 187.5 kB / 1.612 GB, free: 280.6 MB / 1.295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001427/1.278, allocations: 97.2 kB / 1.612 GB, free: 280.5 MB / 1.295 GB Notification: Performance of setup shared object (initialization): time 5.938e-05/1.278, allocations: 325.5 kB / 1.612 GB, free: 280.2 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003692/1.279, allocations: 219.2 kB / 1.612 GB, free: 280.1 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000415/1.279, allocations: 322 kB / 1.613 GB, free: 280 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007605/1.28, allocations: 0.5556 MB / 1.613 GB, free: 279.8 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.18e-06/1.28, allocations: 4.75 kB / 1.613 GB, free: 279.8 MB / 1.295 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001632/1.282, allocations: 0.8176 MB / 1.614 GB, free: 279.5 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 2.347e-05/1.282, allocations: 5.844 kB / 1.614 GB, free: 279.5 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.939e-06/1.282, allocations: 2.625 kB / 1.614 GB, free: 279.5 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.416e-05/1.282, allocations: 5.766 kB / 1.614 GB, free: 279.5 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004558/1.282, allocations: 106.3 kB / 1.614 GB, free: 279.4 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.582e-05/1.282, allocations: 6.125 kB / 1.614 GB, free: 279.4 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007625/1.283, allocations: 97.92 kB / 1.614 GB, free: 279.4 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.492e-05/1.283, allocations: 25.56 kB / 1.614 GB, free: 279.4 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.0008264/1.284, allocations: 0.5391 MB / 1.615 GB, free: 279.2 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004075/1.284, allocations: 249.8 kB / 1.615 GB, free: 279 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001558/1.286, allocations: 0.7995 MB / 1.616 GB, free: 278.8 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.37e-05/1.286, allocations: 9.188 kB / 1.616 GB, free: 278.8 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.674e-06/1.286, allocations: 1.219 kB / 1.616 GB, free: 278.8 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.05e-05/1.286, allocations: 8.266 kB / 1.616 GB, free: 278.8 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002982/1.289, allocations: 2.093 MB / 1.618 GB, free: 277.7 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.742e-06/1.289, allocations: 7.25 kB / 1.618 GB, free: 277.7 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004352/1.289, allocations: 100.6 kB / 1.618 GB, free: 277.7 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.345e-06/1.289, allocations: 3.719 kB / 1.618 GB, free: 277.7 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.581e-05/1.289, allocations: 15.98 kB / 1.618 GB, free: 277.7 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.184e-06/1.289, allocations: 5.125 kB / 1.618 GB, free: 277.7 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.955e-06/1.289, allocations: 1.25 kB / 1.618 GB, free: 277.7 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001689/1.291, allocations: 1.287 MB / 1.619 GB, free: 277.1 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006874/1.292, allocations: 433.3 kB / 1.62 GB, free: 276.9 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002367/1.292, allocations: 9.438 kB / 1.62 GB, free: 276.9 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006677/1.293, allocations: 20.3 kB / 1.62 GB, free: 276.9 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001043/1.293, allocations: 35.55 kB / 1.62 GB, free: 276.8 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.314e-05/1.293, allocations: 18.55 kB / 1.62 GB, free: 276.8 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.004214/1.297, allocations: 3.521 MB / 1.623 GB, free: 275.7 MB / 1.295 GB Notification: Performance of sort global known variables: time 1e-07/1.297, allocations: 1.188 kB / 1.623 GB, free: 275.7 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.001422/1.298, allocations: 479.1 kB / 1.623 GB, free: 275.7 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.003432/1.302, allocations: 2.254 MB / 1.626 GB, free: 274.5 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.0009898/1.303, allocations: 0.5229 MB / 1.626 GB, free: 274.4 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/1.303, allocations: 0 / 1.626 GB, free: 274.4 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.0004284/1.303, allocations: 286.1 kB / 1.626 GB, free: 274.3 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003605/1.307, allocations: 0.8535 MB / 1.627 GB, free: 274.1 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02124/1.328, allocations: 19.44 MB / 1.646 GB, free: 263.1 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008528/1.329, allocations: 1.637 MB / 1.648 GB, free: 261.5 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.001245/1.33, allocations: 474.1 kB / 1.648 GB, free: 261.1 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007396/1.331, allocations: 0.9407 MB / 1.649 GB, free: 260.1 MB / 1.295 GB Notification: Performance of SimCode: time 8.82e-07/1.331, allocations: 7.938 kB / 1.649 GB, free: 260.1 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07003/1.401, allocations: 46.82 MB / 1.695 GB, free: 213.9 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.27/13.67, allocations: 4 kB / 1.695 GB, free: 213.9 MB / 1.295 GB " [Timeout remaining time 286] (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: 20.03125885501504]