Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.00193/0.00193, allocations: 102.9 kB / 16.45 MB, free: 6.445 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.002118/0.002118, allocations: 188.6 kB / 19.4 MB, free: 3.66 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.418/1.418, allocations: 225.6 MB / 247.8 MB, free: 3.746 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.642/2.642, allocations: 476.7 MB / 0.7611 GB, free: 15.72 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Airflow_Multizone_Examples_Orifice",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.Orifice,fileNamePrefix="Buildings_11_Buildings_Airflow_Multizone_Examples_Orifice",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002078/0.002078, allocations: 67.89 kB / 1.104 GB, free: 6.594 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9378/0.9399, allocations: 168.7 MB / 1.269 GB, free: 7.633 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.Orifice): time 0.227/1.167, allocations: 174.4 MB / 1.439 GB, free: 5.25 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.00457/1.171, allocations: 2.296 MB / 1.441 GB, free: 3.383 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007207/1.172, allocations: 13.56 kB / 1.441 GB, free: 3.379 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.0009149/1.173, allocations: 242.1 kB / 1.442 GB, free: 3.176 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.002523/1.176, allocations: 0.9723 MB / 1.442 GB, free: 2.445 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.002322/1.178, allocations: 0.8278 MB / 1.443 GB, free: 1.844 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.001586/1.18, allocations: 0.9714 MB / 1.444 GB, free: 1.281 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005158/1.18, allocations: 284.6 kB / 1.444 GB, free: 1.094 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008912/1.181, allocations: 472.6 kB / 1.445 GB, free: 0.8164 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004794/1.181, allocations: 330.6 kB / 1.445 GB, free: 0.4922 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 6.238e-05/1.181, allocations: 35.94 kB / 1.445 GB, free: 468 kB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002091/1.184, allocations: 1.06 MB / 1.446 GB, free: 15.39 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0001918/1.184, allocations: 151.5 kB / 1.446 GB, free: 15.25 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0002796/1.184, allocations: 234.8 kB / 1.447 GB, free: 15.02 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.001666/1.186, allocations: 0.9071 MB / 1.448 GB, free: 14.11 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 9.477e-06/1.186, allocations: 4 kB / 1.448 GB, free: 14.1 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.784e-06/1.186, allocations: 0 / 1.448 GB, free: 14.1 MB / 1.139 GB Notification: Performance of Transformations before backend: time 8.436e-06/1.186, allocations: 0 / 1.448 GB, free: 14.1 MB / 1.139 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.001439/1.187, allocations: 0.8208 MB / 1.448 GB, free: 13.23 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.367e-05/1.187, allocations: 8.031 kB / 1.448 GB, free: 13.22 MB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.024e-05/1.187, allocations: 74.52 kB / 1.448 GB, free: 13.14 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001198/1.188, allocations: 179.4 kB / 1.449 GB, free: 12.96 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007425/1.189, allocations: 397.7 kB / 1.449 GB, free: 12.54 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.444e-05/1.189, allocations: 24.66 kB / 1.449 GB, free: 12.52 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.299e-05/1.189, allocations: 32 kB / 1.449 GB, free: 12.48 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006433/1.19, allocations: 369.1 kB / 1.449 GB, free: 12.09 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.708e-05/1.19, allocations: 0 / 1.449 GB, free: 12.09 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.731e-05/1.19, allocations: 15.94 kB / 1.449 GB, free: 12.08 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.993e-05/1.19, allocations: 15.97 kB / 1.449 GB, free: 12.06 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005219/1.191, allocations: 262 kB / 1.45 GB, free: 11.81 MB / 1.139 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.002016/1.193, allocations: 1.676 MB / 1.451 GB, free: 9.996 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003943/1.193, allocations: 198.4 kB / 1.452 GB, free: 9.793 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000216/1.193, allocations: 108.8 kB / 1.452 GB, free: 9.684 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001128/1.194, allocations: 0.874 MB / 1.452 GB, free: 8.625 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.344e-05/1.194, allocations: 38.42 kB / 1.453 GB, free: 8.578 MB / 1.139 GB Notification: Performance of pre-optimization done (n=23): time 2.224e-06/1.194, allocations: 0 / 1.453 GB, free: 8.578 MB / 1.139 GB Notification: Performance of matching and sorting (n=23): time 0.0009441/1.195, allocations: 357.1 kB / 1.453 GB, free: 8.223 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.202e-05/1.195, allocations: 55.41 kB / 1.453 GB, free: 8.156 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005018/1.196, allocations: 425.9 kB / 1.453 GB, free: 7.73 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 3.219e-05/1.196, allocations: 29.7 kB / 1.453 GB, free: 7.695 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001714/1.196, allocations: 208.5 kB / 1.454 GB, free: 7.488 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 8.234e-05/1.196, allocations: 91.22 kB / 1.454 GB, free: 7.398 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.011e-05/1.196, allocations: 49.7 kB / 1.454 GB, free: 7.344 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001754/1.196, allocations: 350.7 kB / 1.454 GB, free: 6.992 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001908/1.197, allocations: 83.95 kB / 1.454 GB, free: 6.91 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000226/1.197, allocations: 124.8 kB / 1.454 GB, free: 6.777 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004051/1.197, allocations: 201.5 kB / 1.454 GB, free: 6.57 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/1.197, allocations: 4.031 kB / 1.454 GB, free: 6.566 MB / 1.139 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005344/1.198, allocations: 286.2 kB / 1.455 GB, free: 6.281 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.805e-05/1.198, allocations: 8 kB / 1.455 GB, free: 6.273 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.551e-06/1.198, allocations: 0 / 1.455 GB, free: 6.273 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.392e-05/1.198, allocations: 0 / 1.455 GB, free: 6.273 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002424/1.198, allocations: 59.84 kB / 1.455 GB, free: 6.215 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.173e-05/1.198, allocations: 7.938 kB / 1.455 GB, free: 6.207 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002141/1.198, allocations: 35.89 kB / 1.455 GB, free: 6.172 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.544e-05/1.198, allocations: 8 kB / 1.455 GB, free: 6.164 MB / 1.139 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.0001924/1.198, allocations: 161.8 kB / 1.455 GB, free: 5.996 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.83e-05/1.199, allocations: 47.7 kB / 1.455 GB, free: 5.949 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005954/1.199, allocations: 294.7 kB / 1.455 GB, free: 5.656 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/1.199, allocations: 0 / 1.455 GB, free: 5.656 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.607e-06/1.199, allocations: 7.922 kB / 1.455 GB, free: 5.648 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/1.199, allocations: 8 kB / 1.455 GB, free: 5.641 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001309/1.2, allocations: 0.8039 MB / 1.456 GB, free: 4.762 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.301e-06/1.2, allocations: 7.938 kB / 1.456 GB, free: 4.754 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002292/1.201, allocations: 47.91 kB / 1.456 GB, free: 4.707 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.71e-06/1.201, allocations: 4 kB / 1.456 GB, free: 4.703 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.977e-05/1.201, allocations: 4 kB / 1.456 GB, free: 4.699 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.929e-06/1.201, allocations: 4 kB / 1.456 GB, free: 4.695 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.472e-06/1.201, allocations: 0 / 1.456 GB, free: 4.695 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008297/1.202, allocations: 0.515 MB / 1.457 GB, free: 4.148 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001811/1.202, allocations: 140.8 kB / 1.457 GB, free: 3.992 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.033e-05/1.202, allocations: 15.98 kB / 1.457 GB, free: 3.977 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002508/1.202, allocations: 15.98 kB / 1.457 GB, free: 3.961 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.512e-05/1.202, allocations: 19.92 kB / 1.457 GB, free: 3.941 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.85e-05/1.202, allocations: 8 kB / 1.457 GB, free: 3.934 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0003567/1.203, allocations: 299.1 kB / 1.457 GB, free: 3.641 MB / 1.139 GB Notification: Performance of sort global known variables: time 8e-08/1.203, allocations: 0 / 1.457 GB, free: 3.641 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.000456/1.203, allocations: 123.8 kB / 1.457 GB, free: 3.52 MB / 1.139 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.001479/1.204, allocations: 1.141 MB / 1.458 GB, free: 2.344 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.000503/1.205, allocations: 206.1 kB / 1.459 GB, free: 2.145 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/1.205, allocations: 0 / 1.459 GB, free: 2.145 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0002289/1.205, allocations: 103.8 kB / 1.459 GB, free: 2.043 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00111/1.206, allocations: 227.5 kB / 1.459 GB, free: 1.824 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005499/1.212, allocations: 3.686 MB / 1.462 GB, free: 14 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005138/1.212, allocations: 0.8272 MB / 1.463 GB, free: 13.15 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.0003655/1.213, allocations: 91.31 kB / 1.463 GB, free: 13.06 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000208/1.213, allocations: 139.4 kB / 1.463 GB, free: 12.92 MB / 1.154 GB Notification: Performance of SimCode: time 1.082e-06/1.213, allocations: 0 / 1.463 GB, free: 12.92 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04204/1.255, allocations: 12.17 MB / 1.475 GB, free: 0.9844 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.77/10.02, allocations: 8.594 kB / 1.475 GB, free: 0.9766 MB / 1.154 GB " [Timeout remaining time 290] (rm -f Buildings_11_Buildings.Airflow.Multizone.Examples.Orifice.pipe ; mkfifo Buildings_11_Buildings.Airflow.Multizone.Examples.Orifice.pipe ; head -c 1048576 < Buildings_11_Buildings.Airflow.Multizone.Examples.Orifice.pipe >> ../files/Buildings_11_Buildings.Airflow.Multizone.Examples.Orifice.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Airflow.Multizone.Examples.Orifice_res.mat --tempDir=temp_Buildings_11_Buildings_Airflow_Multizone_Examples_Orifice_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Airflow_Multizone_Examples_Orifice.fmu > Buildings_11_Buildings.Airflow.Multizone.Examples.Orifice.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Airflow.Multizone.Examples.Orifice_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Airflow_Multizone_Examples_Orifice.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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: 16.07843617303297]