Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Airflow.Multizone.Validation.OneWayFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001462/0.001462, allocations: 109 kB / 16.45 MB, free: 6.508 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001528/0.001528, allocations: 196.6 kB / 19.41 MB, free: 3.676 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.345/1.345, allocations: 225.6 MB / 247.8 MB, free: 13.95 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.936/2.936, allocations: 497.2 MB / 0.7811 GB, free: 33.66 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Airflow.Multizone.Validation.OneWayFlow,fileNamePrefix="Buildings_latest_Buildings_Airflow_Multizone_Validation_OneWayFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Validation.OneWayFlow,fileNamePrefix="Buildings_latest_Buildings_Airflow_Multizone_Validation_OneWayFlow",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001909/0.001909, allocations: 80.45 kB / 1.134 GB, free: 33.65 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3131/0.315, allocations: 173.9 MB / 1.304 GB, free: 1.574 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Validation.OneWayFlow): time 0.2307/0.5456, allocations: 219.1 MB / 1.518 GB, free: 5.684 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.03209/0.5777, allocations: 26.59 MB / 1.544 GB, free: 11.01 MB / 1.248 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001805/0.5795, allocations: 35.81 kB / 1.544 GB, free: 10.97 MB / 1.248 GB Notification: Performance of NFTyping.typeComponents: time 0.002955/0.5825, allocations: 1.189 MB / 1.545 GB, free: 9.777 MB / 1.248 GB Notification: Performance of NFTyping.typeBindings: time 0.007878/0.5904, allocations: 3.197 MB / 1.548 GB, free: 6.57 MB / 1.248 GB Notification: Performance of NFTyping.typeClassSections: time 0.004437/0.5948, allocations: 1.677 MB / 1.55 GB, free: 4.895 MB / 1.248 GB Notification: Performance of NFFlatten.flatten: time 0.005273/0.6001, allocations: 3.807 MB / 1.554 GB, free: 1.078 MB / 1.248 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001968/0.602, allocations: 1.226 MB / 1.555 GB, free: 15.81 MB / 1.264 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004737/0.6068, allocations: 2.351 MB / 1.557 GB, free: 13.45 MB / 1.264 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002415/0.6092, allocations: 1.537 MB / 1.559 GB, free: 11.91 MB / 1.264 GB Notification: Performance of NFPackage.collectConstants: time 0.000276/0.6095, allocations: 128 kB / 1.559 GB, free: 11.79 MB / 1.264 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003939/0.6134, allocations: 1.871 MB / 1.56 GB, free: 9.91 MB / 1.264 GB Notification: Performance of NFScalarize.scalarize: time 0.0008992/0.6143, allocations: 0.8722 MB / 1.561 GB, free: 9.035 MB / 1.264 GB Notification: Performance of NFVerifyModel.verify: time 0.001486/0.6158, allocations: 1.177 MB / 1.562 GB, free: 7.852 MB / 1.264 GB Notification: Performance of NFConvertDAE.convert: time 0.004835/0.6206, allocations: 3.027 MB / 1.565 GB, free: 4.812 MB / 1.264 GB Notification: Performance of FrontEnd - DAE generated: time 5.581e-06/0.6206, allocations: 0 / 1.565 GB, free: 4.812 MB / 1.264 GB Notification: Performance of FrontEnd: time 1.593e-06/0.6206, allocations: 0 / 1.565 GB, free: 4.812 MB / 1.264 GB Notification: Performance of Transformations before backend: time 5.461e-05/0.6207, allocations: 4 kB / 1.565 GB, free: 4.809 MB / 1.264 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.004733/0.6254, allocations: 2.948 MB / 1.568 GB, free: 1.793 MB / 1.264 GB Notification: Performance of prepare preOptimizeDAE: time 4.668e-05/0.6255, allocations: 8.922 kB / 1.568 GB, free: 1.785 MB / 1.264 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002257/0.6257, allocations: 198.6 kB / 1.568 GB, free: 1.582 MB / 1.264 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00179/0.6275, allocations: 465.8 kB / 1.569 GB, free: 1.125 MB / 1.264 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00385/0.6313, allocations: 2.774 MB / 1.572 GB, free: 14.28 MB / 1.279 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.578e-05/0.6314, allocations: 98.52 kB / 1.572 GB, free: 14.18 MB / 1.279 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001703/0.6316, allocations: 124 kB / 1.572 GB, free: 14.06 MB / 1.279 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002296/0.6339, allocations: 1.599 MB / 1.573 GB, free: 12.32 MB / 1.279 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.783e-05/0.6339, allocations: 4 kB / 1.573 GB, free: 12.32 MB / 1.279 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.403e-05/0.634, allocations: 59.92 kB / 1.573 GB, free: 12.26 MB / 1.279 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001057/0.6341, allocations: 97.95 kB / 1.574 GB, free: 12.16 MB / 1.279 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001681/0.6358, allocations: 1.055 MB / 1.575 GB, free: 11.11 MB / 1.279 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008884/0.6447, allocations: 8.461 MB / 1.583 GB, free: 2.141 MB / 1.279 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001028/0.6457, allocations: 0.6997 MB / 1.584 GB, free: 1.395 MB / 1.279 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004282/0.6461, allocations: 288.9 kB / 1.584 GB, free: 1.098 MB / 1.279 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005775/0.6467, allocations: 0.6244 MB / 1.584 GB, free: 352 kB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.489e-05/0.6468, allocations: 42.5 kB / 1.584 GB, free: 300 kB / 1.279 GB Notification: Performance of pre-optimization done (n=50): time 2.114e-06/0.6468, allocations: 0 / 1.584 GB, free: 300 kB / 1.279 GB Notification: Performance of matching and sorting (n=50): time 0.00179/0.6486, allocations: 0.9881 MB / 1.585 GB, free: 15.3 MB / 1.295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.101e-05/0.6486, allocations: 166.3 kB / 1.586 GB, free: 15.1 MB / 1.295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005433/0.6541, allocations: 4.697 MB / 1.59 GB, free: 10.39 MB / 1.295 GB Notification: Performance of collectPreVariables (initialization): time 7.9e-05/0.6542, allocations: 33.7 kB / 1.59 GB, free: 10.35 MB / 1.295 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009052/0.6551, allocations: 1.079 MB / 1.591 GB, free: 9.266 MB / 1.295 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001839/0.6552, allocations: 190.4 kB / 1.591 GB, free: 9.078 MB / 1.295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001453/0.6554, allocations: 94.2 kB / 1.592 GB, free: 8.98 MB / 1.295 GB Notification: Performance of setup shared object (initialization): time 0.0001461/0.6555, allocations: 326 kB / 1.592 GB, free: 8.656 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003698/0.6559, allocations: 217 kB / 1.592 GB, free: 8.445 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004433/0.6563, allocations: 318.9 kB / 1.592 GB, free: 8.098 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008034/0.6572, allocations: 0.5687 MB / 1.593 GB, free: 7.496 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.819e-06/0.6572, allocations: 0 / 1.593 GB, free: 7.496 MB / 1.295 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0014/0.6586, allocations: 0.8082 MB / 1.594 GB, free: 6.68 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 2.111e-05/0.6586, allocations: 11.94 kB / 1.594 GB, free: 6.668 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.805e-06/0.6586, allocations: 0 / 1.594 GB, free: 6.668 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.869e-05/0.6586, allocations: 8 kB / 1.594 GB, free: 6.66 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003911/0.659, allocations: 103.8 kB / 1.594 GB, free: 6.559 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.344e-05/0.659, allocations: 7.984 kB / 1.594 GB, free: 6.551 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007992/0.6598, allocations: 95.48 kB / 1.594 GB, free: 6.457 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.309e-05/0.6599, allocations: 24 kB / 1.594 GB, free: 6.434 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.000757/0.6606, allocations: 0.5443 MB / 1.594 GB, free: 5.879 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003775/0.661, allocations: 246.3 kB / 1.595 GB, free: 5.637 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001248/0.6622, allocations: 0.804 MB / 1.596 GB, free: 4.828 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.633e-06/0.6622, allocations: 4 kB / 1.596 GB, free: 4.824 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.814e-06/0.6622, allocations: 4 kB / 1.596 GB, free: 4.82 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.346e-06/0.6623, allocations: 3.984 kB / 1.596 GB, free: 4.816 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003166/0.6654, allocations: 2.084 MB / 1.598 GB, free: 2.656 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.614e-06/0.6654, allocations: 8.172 kB / 1.598 GB, free: 2.648 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004226/0.6659, allocations: 103.8 kB / 1.598 GB, free: 2.547 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.666e-06/0.6659, allocations: 4 kB / 1.598 GB, free: 2.543 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.993e-05/0.6659, allocations: 8 kB / 1.598 GB, free: 2.535 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.142e-06/0.6659, allocations: 4 kB / 1.598 GB, free: 2.531 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/0.6659, allocations: 4 kB / 1.598 GB, free: 2.527 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001772/0.6677, allocations: 1.291 MB / 1.599 GB, free: 1.199 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008571/0.6685, allocations: 427.2 kB / 1.599 GB, free: 0.7617 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002395/0.6688, allocations: 16 kB / 1.599 GB, free: 0.7461 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006192/0.6694, allocations: 19.98 kB / 1.599 GB, free: 0.7266 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.961e-05/0.6695, allocations: 48.27 kB / 1.599 GB, free: 0.6797 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.616e-05/0.6695, allocations: 12 kB / 1.599 GB, free: 0.668 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.004028/0.6735, allocations: 3.51 MB / 1.603 GB, free: 13.15 MB / 1.311 GB Notification: Performance of sort global known variables: time 2.51e-07/0.6735, allocations: 3.938 kB / 1.603 GB, free: 13.15 MB / 1.311 GB Notification: Performance of remove unused functions: time 0.001318/0.6749, allocations: 479.1 kB / 1.603 GB, free: 12.68 MB / 1.311 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.003717/0.6786, allocations: 2.261 MB / 1.606 GB, free: 10.52 MB / 1.311 GB Notification: Performance of simCode: created initialization part: time 0.0009683/0.6795, allocations: 0.5258 MB / 1.606 GB, free: 9.992 MB / 1.311 GB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.6795, allocations: 0 / 1.606 GB, free: 9.992 MB / 1.311 GB Notification: Performance of simCode: created simulation system equations: time 0.0004201/0.68, allocations: 282.9 kB / 1.606 GB, free: 9.715 MB / 1.311 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003454/0.6834, allocations: 0.8616 MB / 1.607 GB, free: 8.855 MB / 1.311 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6256/1.309, allocations: 19.39 MB / 1.626 GB, free: 307.8 MB / 1.311 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001419/1.31, allocations: 1.635 MB / 1.628 GB, free: 307 MB / 1.311 GB Notification: Performance of simCode: alias equations: time 0.001472/1.312, allocations: 465.3 kB / 1.628 GB, free: 307 MB / 1.311 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008843/1.313, allocations: 0.9408 MB / 1.629 GB, free: 306.2 MB / 1.311 GB Notification: Performance of SimCode: time 1.182e-06/1.313, allocations: 0 / 1.629 GB, free: 306.2 MB / 1.311 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07774/1.391, allocations: 46.81 MB / 1.675 GB, free: 273.4 MB / 1.311 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.73/14.12, allocations: 7.875 kB / 1.675 GB, free: 273.4 MB / 1.311 GB " [Timeout remaining time 286] (rm -f Buildings_latest_Buildings.Airflow.Multizone.Validation.OneWayFlow.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Validation.OneWayFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Validation.OneWayFlow.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Validation.OneWayFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Airflow.Multizone.Validation.OneWayFlow_res.mat --tempDir=temp_Buildings_latest_Buildings_Airflow_Multizone_Validation_OneWayFlow_fmu --startTime=0 --stopTime=500 --stepSize=1 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Airflow_Multizone_Validation_OneWayFlow.fmu > Buildings_latest_Buildings.Airflow.Multizone.Validation.OneWayFlow.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.Validation.OneWayFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_Validation_OneWayFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_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.36816924996674]