Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.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.001438/0.001438, allocations: 110.6 kB / 18.94 MB, free: 2.949 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.001693/0.001693, allocations: 220.3 kB / 22.26 MB, free: 5.125 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.464/1.464, allocations: 230.6 MB / 256 MB, free: 7.98 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.883/2.883, allocations: 476.7 MB / 0.7707 GB, free: 4.223 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.PowerLawFixedM,fileNamePrefix="Buildings_11_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM,fileNamePrefix="Buildings_11_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM",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.002074/0.002074, allocations: 66.5 kB / 1.117 GB, free: 40.41 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3181/0.3202, allocations: 169.9 MB / 1.283 GB, free: 11.67 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM): time 0.002975/0.3232, allocations: 1.314 MB / 1.285 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0006812/0.3239, allocations: 310.9 kB / 1.285 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.43e-05/0.3239, allocations: 0 / 1.285 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.564e-05/0.3239, allocations: 3.984 kB / 1.285 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001123/0.3241, allocations: 11.92 kB / 1.285 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004036/0.3245, allocations: 87.7 kB / 1.285 GB, free: 9.938 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001067/0.3246, allocations: 35.8 kB / 1.285 GB, free: 9.902 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.959e-05/0.3246, allocations: 4 kB / 1.285 GB, free: 9.898 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001288/0.3247, allocations: 31.91 kB / 1.285 GB, free: 9.867 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 5.617e-05/0.3248, allocations: 11.94 kB / 1.285 GB, free: 9.855 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.482e-05/0.3248, allocations: 0 / 1.285 GB, free: 9.855 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001961/0.325, allocations: 83.91 kB / 1.285 GB, free: 9.773 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.818e-05/0.325, allocations: 4 kB / 1.285 GB, free: 9.77 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.418e-05/0.3251, allocations: 19.91 kB / 1.285 GB, free: 9.75 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001995/0.3253, allocations: 76.42 kB / 1.285 GB, free: 9.676 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.3253, allocations: 0 / 1.285 GB, free: 9.676 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.483e-06/0.3253, allocations: 0 / 1.285 GB, free: 9.676 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.202e-06/0.3253, allocations: 0 / 1.285 GB, free: 9.676 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004344/0.3257, allocations: 282.1 kB / 1.286 GB, free: 9.371 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.87e-05/0.3258, allocations: 8.031 kB / 1.286 GB, free: 9.363 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.429e-05/0.3258, allocations: 38.69 kB / 1.286 GB, free: 9.316 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.396e-05/0.3258, allocations: 4.938 kB / 1.286 GB, free: 9.312 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001222/0.326, allocations: 110.5 kB / 1.286 GB, free: 9.18 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.518e-05/0.326, allocations: 4.375 kB / 1.286 GB, free: 9.176 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.066e-05/0.326, allocations: 8.062 kB / 1.286 GB, free: 9.168 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001223/0.3261, allocations: 41.69 kB / 1.286 GB, free: 9.121 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.857e-06/0.3261, allocations: 0 / 1.286 GB, free: 9.121 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.098e-05/0.3261, allocations: 0 / 1.286 GB, free: 9.121 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5e-06/0.3261, allocations: 4 kB / 1.286 GB, free: 9.117 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.864e-05/0.3262, allocations: 15.97 kB / 1.286 GB, free: 9.102 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001887/0.3264, allocations: 124.8 kB / 1.286 GB, free: 8.938 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001042/0.3265, allocations: 38.5 kB / 1.286 GB, free: 8.891 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.042e-05/0.3265, allocations: 16.86 kB / 1.286 GB, free: 8.871 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007268/0.3272, allocations: 135.9 kB / 1.286 GB, free: 8.738 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.105e-05/0.3273, allocations: 34.56 kB / 1.286 GB, free: 8.695 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=3): time 1.483e-06/0.3273, allocations: 0 / 1.286 GB, free: 8.695 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3): time 0.0001872/0.3275, allocations: 57.56 kB / 1.286 GB, free: 8.633 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.275e-05/0.3275, allocations: 51.41 kB / 1.286 GB, free: 8.57 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.791e-05/0.3276, allocations: 113.8 kB / 1.286 GB, free: 8.449 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.928e-05/0.3276, allocations: 25.7 kB / 1.286 GB, free: 8.418 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.342e-05/0.3277, allocations: 80.14 kB / 1.286 GB, free: 8.336 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.434e-05/0.3277, allocations: 11.84 kB / 1.286 GB, free: 8.324 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.914e-05/0.3277, allocations: 17.72 kB / 1.286 GB, free: 8.301 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001456/0.3279, allocations: 318.8 kB / 1.287 GB, free: 7.98 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.531e-05/0.3279, allocations: 0 / 1.287 GB, free: 7.98 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.589e-05/0.3279, allocations: 8 kB / 1.287 GB, free: 7.973 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.545e-05/0.328, allocations: 20.86 kB / 1.287 GB, free: 7.949 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.328, allocations: 0 / 1.287 GB, free: 7.949 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.931e-05/0.3281, allocations: 49.56 kB / 1.287 GB, free: 7.895 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.955e-05/0.3281, allocations: 6.656 kB / 1.287 GB, free: 7.891 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.3281, allocations: 0 / 1.287 GB, free: 7.891 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.647e-05/0.3281, allocations: 4 kB / 1.287 GB, free: 7.887 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.129e-05/0.3282, allocations: 4 kB / 1.287 GB, free: 7.883 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.235e-06/0.3282, allocations: 0 / 1.287 GB, free: 7.883 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.226e-05/0.3282, allocations: 4 kB / 1.287 GB, free: 7.879 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.394e-06/0.3282, allocations: 3.984 kB / 1.287 GB, free: 7.875 MB / 0.9825 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 (3): * Single equations (assignments): 3 * 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 8.54e-05/0.3283, allocations: 113.8 kB / 1.287 GB, free: 7.754 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.775e-05/0.3283, allocations: 7.891 kB / 1.287 GB, free: 7.746 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00016/0.3285, allocations: 69.86 kB / 1.287 GB, free: 7.668 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.3285, allocations: 0 / 1.287 GB, free: 7.668 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.61e-06/0.3285, allocations: 0 / 1.287 GB, free: 7.668 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.3285, allocations: 0 / 1.287 GB, free: 7.668 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001312/0.3286, allocations: 140.7 kB / 1.287 GB, free: 7.488 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.711e-06/0.3286, allocations: 3.984 kB / 1.287 GB, free: 7.484 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.881e-05/0.3287, allocations: 4 kB / 1.287 GB, free: 7.48 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.3287, allocations: 0 / 1.287 GB, free: 7.48 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.677e-06/0.3287, allocations: 4 kB / 1.287 GB, free: 7.477 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.3287, allocations: 0 / 1.287 GB, free: 7.477 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.3287, allocations: 0 / 1.287 GB, free: 7.477 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001201/0.3288, allocations: 77.38 kB / 1.287 GB, free: 7.383 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.154e-05/0.3288, allocations: 12 kB / 1.287 GB, free: 7.371 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.715e-05/0.3289, allocations: 11.98 kB / 1.287 GB, free: 7.359 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.379e-05/0.3289, allocations: 4 kB / 1.287 GB, free: 7.355 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.617e-05/0.3289, allocations: 3.938 kB / 1.287 GB, free: 7.352 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.729e-06/0.3289, allocations: 0 / 1.287 GB, free: 7.352 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.201e-05/0.329, allocations: 91.27 kB / 1.287 GB, free: 7.262 MB / 0.9825 GB Notification: Performance of sort global known variables: time 6e-08/0.329, allocations: 0 / 1.287 GB, free: 7.262 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002315/0.3292, allocations: 27.88 kB / 1.287 GB, free: 7.234 MB / 0.9825 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 (3): * Single equations (assignments): 3 * 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.0005926/0.3298, allocations: 0.6434 MB / 1.288 GB, free: 6.562 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000113/0.3299, allocations: 15.92 kB / 1.288 GB, free: 6.547 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.367e-06/0.3299, allocations: 0 / 1.288 GB, free: 6.547 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 2.589e-05/0.3299, allocations: 12 kB / 1.288 GB, free: 6.535 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002685/0.3302, allocations: 0 / 1.288 GB, free: 6.535 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004907/0.3307, allocations: 163.8 kB / 1.288 GB, free: 6.332 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003168/0.331, allocations: 0.6768 MB / 1.289 GB, free: 5.629 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.237e-05/0.3311, allocations: 4 kB / 1.289 GB, free: 5.625 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.837e-05/0.3311, allocations: 15.44 kB / 1.289 GB, free: 5.609 MB / 0.9825 GB Notification: Performance of SimCode: time 5.72e-07/0.3311, allocations: 7.938 kB / 1.289 GB, free: 5.602 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03109/0.3622, allocations: 1.732 MB / 1.291 GB, free: 4.012 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.47/12.83, allocations: 5.734 kB / 1.291 GB, free: 4.012 MB / 0.9825 GB " [Timeout remaining time 287] (rm -f Buildings_11_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; mkfifo Buildings_11_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; head -c 1048576 < Buildings_11_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe >> ../files/Buildings_11_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM_res.mat --tempDir=temp_Buildings_11_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM.fmu > Buildings_11_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.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.112903826870024]