Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Airflow.Multizone.Examples.Orifice.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.001745/0.001745, allocations: 110.2 kB / 16.46 MB, free: 6.035 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.001946/0.001946, allocations: 192.5 kB / 19.41 MB, free: 3.539 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.481/1.481, allocations: 225.6 MB / 247.8 MB, free: 13.92 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.527/2.527, allocations: 443.5 MB / 0.7287 GB, free: 13.21 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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.Examples.Orifice,fileNamePrefix="Buildings_10_Buildings_Airflow_Multizone_Examples_Orifice",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.Orifice,fileNamePrefix="Buildings_10_Buildings_Airflow_Multizone_Examples_Orifice",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001903/0.001903, allocations: 71.88 kB / 1.056 GB, free: 4.438 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7754/0.7773, allocations: 160.7 MB / 1.213 GB, free: 5.402 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.Orifice): time 0.2006/0.9779, allocations: 174.4 MB / 1.383 GB, free: 6.332 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.004016/0.982, allocations: 2.309 MB / 1.385 GB, free: 4.02 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004604/0.9824, allocations: 15.88 kB / 1.385 GB, free: 4.004 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.0007514/0.9832, allocations: 234.4 kB / 1.386 GB, free: 3.773 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.002314/0.9855, allocations: 0.9723 MB / 1.387 GB, free: 2.797 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.002089/0.9876, allocations: 0.8334 MB / 1.387 GB, free: 1.965 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.001417/0.989, allocations: 0.966 MB / 1.388 GB, free: 0.9961 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004978/0.9895, allocations: 293.4 kB / 1.389 GB, free: 0.707 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008414/0.9903, allocations: 454.4 kB / 1.389 GB, free: 268 kB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004948/0.9908, allocations: 338.6 kB / 1.389 GB, free: 15.93 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 6.035e-05/0.9909, allocations: 35.94 kB / 1.389 GB, free: 15.89 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001966/0.9928, allocations: 1.044 MB / 1.391 GB, free: 14.85 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0002089/0.9931, allocations: 159.5 kB / 1.391 GB, free: 14.69 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0002829/0.9933, allocations: 234.9 kB / 1.391 GB, free: 14.46 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.001608/0.9949, allocations: 0.9071 MB / 1.392 GB, free: 13.55 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.995, allocations: 4 kB / 1.392 GB, free: 13.55 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.663e-06/0.995, allocations: 0 / 1.392 GB, free: 13.55 MB / 1.107 GB Notification: Performance of Transformations before backend: time 9.859e-06/0.995, allocations: 0 / 1.392 GB, free: 13.55 MB / 1.107 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.001423/0.9964, allocations: 0.8208 MB / 1.393 GB, free: 12.67 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.442e-05/0.9964, allocations: 12.62 kB / 1.393 GB, free: 12.66 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.148e-05/0.9965, allocations: 66.53 kB / 1.393 GB, free: 12.59 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001246/0.9978, allocations: 187.4 kB / 1.393 GB, free: 12.4 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007474/0.9985, allocations: 393.7 kB / 1.393 GB, free: 11.98 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.763e-05/0.9985, allocations: 24.59 kB / 1.393 GB, free: 11.95 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.549e-05/0.9986, allocations: 32 kB / 1.393 GB, free: 11.92 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006694/0.9993, allocations: 369.1 kB / 1.394 GB, free: 11.54 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.747e-05/0.9993, allocations: 3.938 kB / 1.394 GB, free: 11.53 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.374e-05/0.9993, allocations: 15.94 kB / 1.394 GB, free: 11.52 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.209e-05/0.9993, allocations: 8 kB / 1.394 GB, free: 11.51 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005442/0.9999, allocations: 258 kB / 1.394 GB, free: 11.26 MB / 1.107 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00213/1.002, allocations: 1.676 MB / 1.396 GB, free: 9.445 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004108/1.002, allocations: 194.5 kB / 1.396 GB, free: 9.246 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002176/1.003, allocations: 108.8 kB / 1.396 GB, free: 9.137 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001113/1.004, allocations: 0.874 MB / 1.397 GB, free: 8.078 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.372e-05/1.004, allocations: 34.61 kB / 1.397 GB, free: 8.035 MB / 1.107 GB Notification: Performance of pre-optimization done (n=23): time 2.525e-06/1.004, allocations: 3.938 kB / 1.397 GB, free: 8.031 MB / 1.107 GB Notification: Performance of matching and sorting (n=23): time 0.0009631/1.005, allocations: 359.3 kB / 1.397 GB, free: 7.676 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.353e-05/1.005, allocations: 55.41 kB / 1.397 GB, free: 7.609 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005123/1.005, allocations: 425.9 kB / 1.397 GB, free: 7.184 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 3.155e-05/1.005, allocations: 29.64 kB / 1.398 GB, free: 7.148 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001856/1.006, allocations: 216.4 kB / 1.398 GB, free: 6.934 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 8.097e-05/1.006, allocations: 91.2 kB / 1.398 GB, free: 6.844 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.883e-05/1.006, allocations: 49.7 kB / 1.398 GB, free: 6.789 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001833/1.006, allocations: 354.7 kB / 1.398 GB, free: 6.434 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000192/1.006, allocations: 79.94 kB / 1.398 GB, free: 6.355 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002365/1.006, allocations: 124.7 kB / 1.398 GB, free: 6.223 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004105/1.007, allocations: 204.8 kB / 1.399 GB, free: 6.012 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/1.007, allocations: 4.031 kB / 1.399 GB, free: 6.008 MB / 1.107 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.000583/1.007, allocations: 295 kB / 1.399 GB, free: 5.715 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.842e-05/1.007, allocations: 4 kB / 1.399 GB, free: 5.711 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.072e-06/1.007, allocations: 0 / 1.399 GB, free: 5.711 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.875e-05/1.007, allocations: 4 kB / 1.399 GB, free: 5.707 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002469/1.008, allocations: 55.91 kB / 1.399 GB, free: 5.652 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.929e-06/1.008, allocations: 3.938 kB / 1.399 GB, free: 5.648 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002346/1.008, allocations: 35.81 kB / 1.399 GB, free: 5.613 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.116e-05/1.008, allocations: 11.98 kB / 1.399 GB, free: 5.602 MB / 1.107 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.0002079/1.008, allocations: 157.8 kB / 1.399 GB, free: 5.438 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.004e-05/1.008, allocations: 47.72 kB / 1.399 GB, free: 5.391 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000625/1.009, allocations: 287.9 kB / 1.399 GB, free: 5.105 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.551e-06/1.009, allocations: 4 kB / 1.399 GB, free: 5.102 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.653e-06/1.009, allocations: 3.938 kB / 1.399 GB, free: 5.098 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.137e-06/1.009, allocations: 4 kB / 1.399 GB, free: 5.094 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001354/1.01, allocations: 0.8076 MB / 1.4 GB, free: 4.211 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/1.01, allocations: 0 / 1.4 GB, free: 4.211 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002447/1.01, allocations: 51.91 kB / 1.4 GB, free: 4.16 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.137e-06/1.01, allocations: 0 / 1.4 GB, free: 4.16 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.927e-05/1.01, allocations: 4 kB / 1.4 GB, free: 4.156 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.26e-06/1.01, allocations: 4 kB / 1.4 GB, free: 4.152 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/1.01, allocations: 4 kB / 1.4 GB, free: 4.148 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008323/1.011, allocations: 0.5077 MB / 1.401 GB, free: 3.605 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002104/1.011, allocations: 148.8 kB / 1.401 GB, free: 3.441 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.773e-05/1.012, allocations: 15.94 kB / 1.401 GB, free: 3.426 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000256/1.012, allocations: 19.98 kB / 1.401 GB, free: 3.406 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.428e-05/1.012, allocations: 15.92 kB / 1.401 GB, free: 3.391 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.296e-05/1.012, allocations: 15.98 kB / 1.401 GB, free: 3.375 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.0003453/1.012, allocations: 299.1 kB / 1.401 GB, free: 3.086 MB / 1.107 GB Notification: Performance of sort global known variables: time 7e-08/1.012, allocations: 0 / 1.401 GB, free: 3.086 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.00049/1.013, allocations: 123.8 kB / 1.401 GB, free: 2.965 MB / 1.107 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.001561/1.014, allocations: 1.136 MB / 1.403 GB, free: 1.797 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.0005424/1.015, allocations: 207.6 kB / 1.403 GB, free: 1.594 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/1.015, allocations: 0 / 1.403 GB, free: 1.594 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.000245/1.015, allocations: 107.8 kB / 1.403 GB, free: 1.488 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001169/1.016, allocations: 226 kB / 1.403 GB, free: 1.27 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00563/1.022, allocations: 3.688 MB / 1.407 GB, free: 13.45 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005287/1.022, allocations: 0.8272 MB / 1.407 GB, free: 12.59 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.0003772/1.023, allocations: 83.34 kB / 1.408 GB, free: 12.51 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002238/1.023, allocations: 139.4 kB / 1.408 GB, free: 12.37 MB / 1.123 GB Notification: Performance of SimCode: time 1.002e-06/1.023, allocations: 4 kB / 1.408 GB, free: 12.37 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04921/1.072, allocations: 12.16 MB / 1.42 GB, free: 444 kB / 1.123 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.737/9.81, allocations: 3.5 kB / 1.42 GB, free: 444 kB / 1.123 GB " [Timeout remaining time 290] (rm -f Buildings_10_Buildings.Airflow.Multizone.Examples.Orifice.pipe ; mkfifo Buildings_10_Buildings.Airflow.Multizone.Examples.Orifice.pipe ; head -c 1048576 < Buildings_10_Buildings.Airflow.Multizone.Examples.Orifice.pipe >> ../files/Buildings_10_Buildings.Airflow.Multizone.Examples.Orifice.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Airflow.Multizone.Examples.Orifice_res.mat --tempDir=temp_Buildings_10_Buildings_Airflow_Multizone_Examples_Orifice_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Airflow_Multizone_Examples_Orifice.fmu > Buildings_10_Buildings.Airflow.Multizone.Examples.Orifice.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Airflow.Multizone.Examples.Orifice_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Airflow_Multizone_Examples_Orifice.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 15.754805873613805]