Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.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.001298/0.001298, allocations: 114.3 kB / 18.94 MB, free: 2.957 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.001681/0.001681, allocations: 217.5 kB / 22.26 MB, free: 5.117 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.404/1.404, allocations: 230.6 MB / 256 MB, free: 8.027 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.128/3.128, allocations: 0.49 GB / 0.7951 GB, free: 33.43 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.BaseClasses.Examples.PowerLaw,fileNamePrefix="Buildings_12_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLaw",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw,fileNamePrefix="Buildings_12_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLaw",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.001941/0.001941, allocations: 73.98 kB / 1.154 GB, free: 25.77 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3233/0.3252, allocations: 176.1 MB / 1.326 GB, free: 2 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw): time 0.002442/0.3277, allocations: 1.291 MB / 1.327 GB, free: 0.7031 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0003691/0.328, allocations: 123.5 kB / 1.327 GB, free: 0.582 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.647e-05/0.328, allocations: 0 / 1.327 GB, free: 0.582 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 1.873e-05/0.3281, allocations: 0 / 1.327 GB, free: 0.582 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 6.875e-05/0.3281, allocations: 11.92 kB / 1.327 GB, free: 0.5703 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002116/0.3283, allocations: 35.89 kB / 1.327 GB, free: 0.5352 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 5.526e-05/0.3284, allocations: 15.88 kB / 1.327 GB, free: 0.5195 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 4.253e-05/0.3284, allocations: 3.984 kB / 1.327 GB, free: 0.5156 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 2.667e-05/0.3285, allocations: 15.92 kB / 1.327 GB, free: 0.5 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 4.971e-05/0.3285, allocations: 4 kB / 1.327 GB, free: 0.4961 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.082e-05/0.3285, allocations: 0 / 1.327 GB, free: 0.4961 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001314/0.3287, allocations: 51.94 kB / 1.327 GB, free: 456 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 9.538e-06/0.3287, allocations: 3.938 kB / 1.327 GB, free: 452 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.517e-05/0.3287, allocations: 8 kB / 1.327 GB, free: 444 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001141/0.3288, allocations: 44.09 kB / 1.327 GB, free: 400 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.3288, allocations: 4 kB / 1.327 GB, free: 396 kB / 1.014 GB Notification: Performance of FrontEnd: time 1.784e-06/0.3288, allocations: 0 / 1.327 GB, free: 396 kB / 1.014 GB Notification: Performance of Transformations before backend: time 4.528e-06/0.3288, allocations: 0 / 1.327 GB, free: 396 kB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003747/0.3292, allocations: 258.2 kB / 1.328 GB, free: 108 kB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.894e-05/0.3292, allocations: 12.03 kB / 1.328 GB, free: 96 kB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.295e-05/0.3293, allocations: 30.75 kB / 1.328 GB, free: 56 kB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.397e-05/0.3293, allocations: 4.922 kB / 1.328 GB, free: 52 kB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001355/0.3294, allocations: 106.5 kB / 1.328 GB, free: 15.92 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.304e-06/0.3294, allocations: 384 / 1.328 GB, free: 15.92 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.362e-05/0.3295, allocations: 12.12 kB / 1.328 GB, free: 15.91 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.804e-05/0.3295, allocations: 29.7 kB / 1.328 GB, free: 15.88 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/0.3295, allocations: 3.938 kB / 1.328 GB, free: 15.87 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.171e-06/0.3295, allocations: 3.938 kB / 1.328 GB, free: 15.87 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.747e-06/0.3295, allocations: 0 / 1.328 GB, free: 15.87 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.975e-05/0.3296, allocations: 7.984 kB / 1.328 GB, free: 15.86 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001566/0.3297, allocations: 120.8 kB / 1.328 GB, free: 15.7 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 5.044e-05/0.3298, allocations: 26.59 kB / 1.328 GB, free: 15.66 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.552e-05/0.3298, allocations: 16.86 kB / 1.328 GB, free: 15.64 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004813/0.3303, allocations: 79.92 kB / 1.328 GB, free: 15.57 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.653e-05/0.3303, allocations: 34.56 kB / 1.328 GB, free: 15.52 MB / 1.029 GB Notification: Performance of pre-optimization done (n=2): time 8.32e-07/0.3303, allocations: 0 / 1.328 GB, free: 15.52 MB / 1.029 GB Notification: Performance of matching and sorting (n=2): time 0.0001429/0.3305, allocations: 45.58 kB / 1.328 GB, free: 15.47 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.041e-05/0.3305, allocations: 51.53 kB / 1.328 GB, free: 15.41 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.518e-05/0.3306, allocations: 101.9 kB / 1.328 GB, free: 15.3 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.617e-05/0.3306, allocations: 29.7 kB / 1.328 GB, free: 15.27 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 3.917e-05/0.3306, allocations: 80.14 kB / 1.328 GB, free: 15.18 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.138e-05/0.3307, allocations: 3.938 kB / 1.328 GB, free: 15.18 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.241e-05/0.3307, allocations: 21.7 kB / 1.328 GB, free: 15.15 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001276/0.3308, allocations: 310.8 kB / 1.329 GB, free: 14.84 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.097e-05/0.3308, allocations: 0 / 1.329 GB, free: 14.84 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.272e-05/0.3308, allocations: 8 kB / 1.329 GB, free: 14.83 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.295e-05/0.3309, allocations: 16.8 kB / 1.329 GB, free: 14.81 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.3309, allocations: 0 / 1.329 GB, free: 14.81 MB / 1.029 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.115e-05/0.3309, allocations: 49.58 kB / 1.329 GB, free: 14.76 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.259e-05/0.331, allocations: 4 kB / 1.329 GB, free: 14.75 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.331, allocations: 0 / 1.329 GB, free: 14.75 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.331e-05/0.331, allocations: 4 kB / 1.329 GB, free: 14.75 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.843e-05/0.331, allocations: 4 kB / 1.329 GB, free: 14.75 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.1e-06/0.331, allocations: 0 / 1.329 GB, free: 14.75 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.991e-05/0.331, allocations: 4.094 kB / 1.329 GB, free: 14.74 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.42e-06/0.3311, allocations: 4 kB / 1.329 GB, free: 14.74 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (2): * Single equations (assignments): 2 * 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 7.943e-05/0.3311, allocations: 110.4 kB / 1.329 GB, free: 14.62 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.758e-06/0.3311, allocations: 4.125 kB / 1.329 GB, free: 14.62 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.696e-05/0.3312, allocations: 52.92 kB / 1.329 GB, free: 14.55 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.3312, allocations: 0 / 1.329 GB, free: 14.55 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.3312, allocations: 0 / 1.329 GB, free: 14.55 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/0.3312, allocations: 0 / 1.329 GB, free: 14.55 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001071/0.3314, allocations: 128.7 kB / 1.329 GB, free: 14.39 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.3314, allocations: 4.031 kB / 1.329 GB, free: 14.38 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.056e-05/0.3314, allocations: 4 kB / 1.329 GB, free: 14.38 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.3314, allocations: 0 / 1.329 GB, free: 14.38 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.925e-06/0.3314, allocations: 4 kB / 1.329 GB, free: 14.38 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.3314, allocations: 0 / 1.329 GB, free: 14.38 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.3314, allocations: 0 / 1.329 GB, free: 14.38 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.552e-05/0.3315, allocations: 72.94 kB / 1.329 GB, free: 14.29 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.06e-05/0.3315, allocations: 7.953 kB / 1.329 GB, free: 14.28 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.007e-05/0.3315, allocations: 4.031 kB / 1.329 GB, free: 14.27 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.586e-05/0.3315, allocations: 0 / 1.329 GB, free: 14.27 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.584e-05/0.3315, allocations: 3.984 kB / 1.329 GB, free: 14.27 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.455e-06/0.3315, allocations: 0 / 1.329 GB, free: 14.27 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.377e-05/0.3316, allocations: 79.28 kB / 1.329 GB, free: 14.19 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3316, allocations: 0 / 1.329 GB, free: 14.19 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0001951/0.3318, allocations: 23.88 kB / 1.329 GB, free: 14.17 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (2): * Single equations (assignments): 2 * 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.0004462/0.3322, allocations: 0.6124 MB / 1.33 GB, free: 13.52 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 7.992e-05/0.3323, allocations: 11.94 kB / 1.33 GB, free: 13.51 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.3323, allocations: 0 / 1.33 GB, free: 13.51 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.491e-05/0.3323, allocations: 8 kB / 1.33 GB, free: 13.5 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002347/0.3325, allocations: 4 kB / 1.33 GB, free: 13.5 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001049/0.3336, allocations: 1.087 MB / 1.331 GB, free: 12.33 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003248/0.3339, allocations: 0.6806 MB / 1.332 GB, free: 11.62 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.489e-05/0.3339, allocations: 0 / 1.332 GB, free: 11.62 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.977e-05/0.334, allocations: 11.44 kB / 1.332 GB, free: 11.61 MB / 1.029 GB Notification: Performance of SimCode: time 3.3e-07/0.334, allocations: 0 / 1.332 GB, free: 11.61 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02709/0.3611, allocations: 1.55 MB / 1.333 GB, free: 10.2 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.66/11.02, allocations: 8.484 kB / 1.333 GB, free: 10.2 MB / 1.029 GB " [Timeout remaining time 289] (rm -f Buildings_12_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; mkfifo Buildings_12_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; head -c 1048576 < Buildings_12_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe >> ../files/Buildings_12_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw_res.mat --tempDir=temp_Buildings_12_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLaw_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLaw.fmu > Buildings_12_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLaw.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.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: 17.479906906140968]