Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Airflow.Multizone.Examples.Orifice.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.001281/0.001281, allocations: 113 kB / 18.94 MB, free: 2.934 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.001599/0.001599, allocations: 210.6 kB / 22.25 MB, free: 5.086 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.412/1.412, allocations: 230.6 MB / 256 MB, free: 8.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.134/3.134, allocations: 0.505 GB / 0.8101 GB, free: 22.05 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.Examples.Orifice,fileNamePrefix="Buildings_latest_Buildings_Airflow_Multizone_Examples_Orifice",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.Orifice,fileNamePrefix="Buildings_latest_Buildings_Airflow_Multizone_Examples_Orifice",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.001965/0.001965, allocations: 67.8 kB / 1.177 GB, free: 17.14 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3366/0.3385, allocations: 180.2 MB / 1.353 GB, free: 8.48 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.Orifice): time 0.2101/0.5487, allocations: 177.6 MB / 1.526 GB, free: 6.234 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.004203/0.5529, allocations: 2.458 MB / 1.529 GB, free: 3.77 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003582/0.5532, allocations: 19.81 kB / 1.529 GB, free: 3.75 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.0007286/0.554, allocations: 242.4 kB / 1.529 GB, free: 3.512 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.002295/0.5562, allocations: 1.019 MB / 1.53 GB, free: 2.488 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.002046/0.5583, allocations: 0.8578 MB / 1.531 GB, free: 1.633 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.001366/0.5597, allocations: 0.9894 MB / 1.532 GB, free: 0.6406 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004294/0.5601, allocations: 267.5 kB / 1.532 GB, free: 384 kB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001109/0.5612, allocations: 0.6229 MB / 1.533 GB, free: 15.75 MB / 1.232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004376/0.5616, allocations: 330.5 kB / 1.533 GB, free: 15.43 MB / 1.232 GB Notification: Performance of NFPackage.collectConstants: time 5.892e-05/0.5617, allocations: 40 kB / 1.533 GB, free: 15.39 MB / 1.232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001824/0.5635, allocations: 1.099 MB / 1.534 GB, free: 14.29 MB / 1.232 GB Notification: Performance of NFScalarize.scalarize: time 0.0001772/0.5637, allocations: 155.5 kB / 1.534 GB, free: 14.13 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.0002652/0.564, allocations: 246.7 kB / 1.534 GB, free: 13.89 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.001373/0.5653, allocations: 0.9384 MB / 1.535 GB, free: 12.95 MB / 1.232 GB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.5653, allocations: 4 kB / 1.535 GB, free: 12.95 MB / 1.232 GB Notification: Performance of FrontEnd: time 1.423e-06/0.5653, allocations: 3.938 kB / 1.535 GB, free: 12.94 MB / 1.232 GB Notification: Performance of Transformations before backend: time 1.149e-05/0.5654, allocations: 3.938 kB / 1.535 GB, free: 12.94 MB / 1.232 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 74 * Number of variables: 74 Notification: Performance of Generate backend data structure: time 0.00123/0.5666, allocations: 0.7532 MB / 1.536 GB, free: 12.15 MB / 1.232 GB Notification: Performance of prepare preOptimizeDAE: time 4.031e-05/0.5666, allocations: 16.02 kB / 1.536 GB, free: 12.14 MB / 1.232 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.132e-05/0.5667, allocations: 62.55 kB / 1.536 GB, free: 12.07 MB / 1.232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001604/0.5683, allocations: 231.3 kB / 1.536 GB, free: 11.84 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006776/0.569, allocations: 339.8 kB / 1.537 GB, free: 11.48 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.847e-05/0.569, allocations: 20.66 kB / 1.537 GB, free: 11.46 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.687e-05/0.5691, allocations: 36 kB / 1.537 GB, free: 11.43 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007761/0.5698, allocations: 404.9 kB / 1.537 GB, free: 11 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.419e-05/0.5699, allocations: 0 / 1.537 GB, free: 11 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.719e-05/0.5699, allocations: 19.94 kB / 1.537 GB, free: 10.98 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.532e-05/0.5699, allocations: 8 kB / 1.537 GB, free: 10.98 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007318/0.5706, allocations: 313.7 kB / 1.537 GB, free: 10.67 MB / 1.232 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002192/0.5728, allocations: 1.692 MB / 1.539 GB, free: 8.852 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006877/0.5735, allocations: 266.4 kB / 1.539 GB, free: 8.582 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003176/0.5738, allocations: 140.6 kB / 1.539 GB, free: 8.441 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000459/0.5743, allocations: 67.92 kB / 1.54 GB, free: 8.375 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.681e-05/0.5743, allocations: 38.55 kB / 1.54 GB, free: 8.328 MB / 1.232 GB Notification: Performance of pre-optimization done (n=23): time 1.452e-06/0.5743, allocations: 4 kB / 1.54 GB, free: 8.324 MB / 1.232 GB Notification: Performance of matching and sorting (n=23): time 0.001254/0.5756, allocations: 431.4 kB / 1.54 GB, free: 7.898 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.909e-05/0.5757, allocations: 59.41 kB / 1.54 GB, free: 7.828 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004955/0.5761, allocations: 422 kB / 1.54 GB, free: 7.41 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 4.572e-05/0.5762, allocations: 29.7 kB / 1.54 GB, free: 7.375 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001781/0.5764, allocations: 216.4 kB / 1.541 GB, free: 7.16 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 9.393e-05/0.5765, allocations: 87.25 kB / 1.541 GB, free: 7.074 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001008/0.5766, allocations: 53.66 kB / 1.541 GB, free: 7.016 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0001968/0.5768, allocations: 354.7 kB / 1.541 GB, free: 6.66 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002868/0.577, allocations: 107.9 kB / 1.541 GB, free: 6.555 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003241/0.5774, allocations: 144.6 kB / 1.541 GB, free: 6.402 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005831/0.578, allocations: 261.3 kB / 1.542 GB, free: 6.137 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.578, allocations: 0 / 1.542 GB, free: 6.137 MB / 1.232 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0007382/0.5787, allocations: 325.9 kB / 1.542 GB, free: 5.812 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/0.5787, allocations: 8 kB / 1.542 GB, free: 5.805 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.004e-06/0.5787, allocations: 3.984 kB / 1.542 GB, free: 5.801 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.98e-05/0.5788, allocations: 11.97 kB / 1.542 GB, free: 5.789 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003328/0.5791, allocations: 59.97 kB / 1.542 GB, free: 5.73 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.476e-06/0.5791, allocations: 3.938 kB / 1.542 GB, free: 5.727 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003356/0.5794, allocations: 43.7 kB / 1.542 GB, free: 5.684 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.777e-05/0.5795, allocations: 8 kB / 1.542 GB, free: 5.676 MB / 1.232 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (28): * Single equations (assignments): 28 * 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.000193/0.5797, allocations: 169.7 kB / 1.542 GB, free: 5.5 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.294e-05/0.5797, allocations: 43.72 kB / 1.542 GB, free: 5.457 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007882/0.5805, allocations: 341.2 kB / 1.543 GB, free: 5.109 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.134e-06/0.5805, allocations: 8.031 kB / 1.543 GB, free: 5.102 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.283e-06/0.5805, allocations: 7.922 kB / 1.543 GB, free: 5.094 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.5805, allocations: 0 / 1.543 GB, free: 5.094 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001636/0.5822, allocations: 0.8711 MB / 1.543 GB, free: 4.156 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.5822, allocations: 4.188 kB / 1.544 GB, free: 4.152 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003057/0.5825, allocations: 47.97 kB / 1.544 GB, free: 4.105 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.037e-06/0.5825, allocations: 0 / 1.544 GB, free: 4.105 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.575e-05/0.5825, allocations: 15.92 kB / 1.544 GB, free: 4.09 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.33e-06/0.5825, allocations: 4 kB / 1.544 GB, free: 4.086 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.446e-06/0.5825, allocations: 4 kB / 1.544 GB, free: 4.082 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001136/0.5837, allocations: 0.5914 MB / 1.544 GB, free: 3.457 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001725/0.5838, allocations: 71.66 kB / 1.544 GB, free: 3.387 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.307e-05/0.5839, allocations: 8 kB / 1.544 GB, free: 3.379 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003228/0.5842, allocations: 23.97 kB / 1.544 GB, free: 3.355 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.009e-05/0.5843, allocations: 23.91 kB / 1.544 GB, free: 3.332 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.291e-05/0.5843, allocations: 12 kB / 1.544 GB, free: 3.32 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.0003403/0.5847, allocations: 307.1 kB / 1.545 GB, free: 3.023 MB / 1.232 GB Notification: Performance of sort global known variables: time 9.1e-08/0.5847, allocations: 0 / 1.545 GB, free: 3.023 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.0004733/0.5851, allocations: 115.9 kB / 1.545 GB, free: 2.91 MB / 1.232 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (ori.mExc,den1.d,den2.d) * 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 (23): * Single equations (assignments): 23 * 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.00159/0.5867, allocations: 1.181 MB / 1.546 GB, free: 1.688 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.0006819/0.5874, allocations: 261.7 kB / 1.546 GB, free: 1.434 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.5874, allocations: 4.062 kB / 1.546 GB, free: 1.43 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.0003245/0.5877, allocations: 129.8 kB / 1.546 GB, free: 1.305 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00106/0.5888, allocations: 228.3 kB / 1.546 GB, free: 1.082 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005897/0.5947, allocations: 3.886 MB / 1.55 GB, free: 13.06 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004864/0.5952, allocations: 0.8272 MB / 1.551 GB, free: 12.2 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.000351/0.5955, allocations: 87.34 kB / 1.551 GB, free: 12.11 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002362/0.5958, allocations: 143.4 kB / 1.551 GB, free: 11.97 MB / 1.248 GB Notification: Performance of SimCode: time 9.52e-07/0.5958, allocations: 0 / 1.551 GB, free: 11.97 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05684/0.6526, allocations: 12.73 MB / 1.564 GB, free: 15.48 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.76/12.41, allocations: 5.625 kB / 1.564 GB, free: 15.48 MB / 1.264 GB " [Timeout remaining time 287] (rm -f Buildings_latest_Buildings.Airflow.Multizone.Examples.Orifice.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Examples.Orifice.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Examples.Orifice.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Examples.Orifice.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Airflow.Multizone.Examples.Orifice_res.mat --tempDir=temp_Buildings_latest_Buildings_Airflow_Multizone_Examples_Orifice_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Airflow_Multizone_Examples_Orifice.fmu > Buildings_latest_Buildings.Airflow.Multizone.Examples.Orifice.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.Examples.Orifice_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_Examples_Orifice.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Airflow.Multizone.Examples.Orifice.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: 18.993778242962435]