Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001307/0.001307, allocations: 109.2 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.001482/0.001482, allocations: 219.2 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.499/1.499, allocations: 230.6 MB / 256 MB, free: 7.977 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.818/2.818, allocations: 476.7 MB / 0.7707 GB, free: 4.258 MB / 0.6231 GB " [Timeout remaining time 177] 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.PowerLaw,fileNamePrefix="Buildings_11_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLaw",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw,fileNamePrefix="Buildings_11_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.002078/0.002078, allocations: 68.89 kB / 1.117 GB, free: 40.38 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3154/0.3175, allocations: 169.9 MB / 1.283 GB, free: 11.7 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw): time 0.002396/0.3199, allocations: 1.299 MB / 1.285 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0003021/0.3202, allocations: 123.5 kB / 1.285 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.715e-05/0.3202, allocations: 0 / 1.285 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 1.529e-05/0.3202, allocations: 0 / 1.285 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.487e-05/0.3203, allocations: 7.922 kB / 1.285 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001898/0.3205, allocations: 39.89 kB / 1.285 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 5.915e-05/0.3205, allocations: 15.92 kB / 1.285 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.069e-05/0.3206, allocations: 4.094 kB / 1.285 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 1.902e-05/0.3206, allocations: 4 kB / 1.285 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 4.812e-05/0.3206, allocations: 3.938 kB / 1.285 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.038e-05/0.3207, allocations: 0 / 1.285 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001298/0.3208, allocations: 55.94 kB / 1.285 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 9.457e-06/0.3208, allocations: 0 / 1.285 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 1.94e-05/0.3208, allocations: 7.984 kB / 1.285 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001161/0.3209, allocations: 47.39 kB / 1.285 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.3209, allocations: 0 / 1.285 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.353e-06/0.3209, allocations: 0 / 1.285 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.849e-06/0.3209, allocations: 0 / 1.285 GB, free: 10.09 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003732/0.3213, allocations: 262.2 kB / 1.285 GB, free: 9.809 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.446e-05/0.3213, allocations: 8.031 kB / 1.285 GB, free: 9.801 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.763e-05/0.3214, allocations: 34.69 kB / 1.285 GB, free: 9.758 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.274e-05/0.3214, allocations: 4.938 kB / 1.285 GB, free: 9.754 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001118/0.3215, allocations: 110.5 kB / 1.285 GB, free: 9.621 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.177e-06/0.3215, allocations: 384 / 1.285 GB, free: 9.621 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.688e-06/0.3215, allocations: 8.125 kB / 1.285 GB, free: 9.613 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.357e-05/0.3216, allocations: 29.69 kB / 1.285 GB, free: 9.578 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.053e-06/0.3216, allocations: 0 / 1.285 GB, free: 9.578 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.128e-05/0.3216, allocations: 4 kB / 1.285 GB, free: 9.574 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.957e-06/0.3216, allocations: 0 / 1.285 GB, free: 9.574 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.698e-05/0.3217, allocations: 4 kB / 1.285 GB, free: 9.57 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000147/0.3218, allocations: 116.8 kB / 1.285 GB, free: 9.414 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 5.629e-05/0.3219, allocations: 38.53 kB / 1.286 GB, free: 9.367 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.982e-05/0.3219, allocations: 8.797 kB / 1.286 GB, free: 9.355 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004739/0.3224, allocations: 91.86 kB / 1.286 GB, free: 9.266 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.806e-05/0.3224, allocations: 30.56 kB / 1.286 GB, free: 9.227 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 9.72e-07/0.3224, allocations: 0 / 1.286 GB, free: 9.227 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0001369/0.3225, allocations: 53.62 kB / 1.286 GB, free: 9.168 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.183e-05/0.3226, allocations: 51.41 kB / 1.286 GB, free: 9.105 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.512e-05/0.3226, allocations: 93.86 kB / 1.286 GB, free: 9.004 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.688e-05/0.3227, allocations: 25.7 kB / 1.286 GB, free: 8.973 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 3.65e-05/0.3227, allocations: 80.14 kB / 1.286 GB, free: 8.891 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.374e-05/0.3227, allocations: 11.94 kB / 1.286 GB, free: 8.879 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.431e-05/0.3228, allocations: 13.72 kB / 1.286 GB, free: 8.859 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001577/0.3229, allocations: 310.8 kB / 1.286 GB, free: 8.547 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.366e-05/0.3229, allocations: 8.125 kB / 1.286 GB, free: 8.539 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.184e-06/0.3229, allocations: 0 / 1.286 GB, free: 8.539 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.131e-05/0.323, allocations: 16.86 kB / 1.286 GB, free: 8.52 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-06/0.323, allocations: 0 / 1.286 GB, free: 8.52 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.339e-05/0.323, allocations: 53.52 kB / 1.286 GB, free: 8.461 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.258e-05/0.3231, allocations: 4 kB / 1.286 GB, free: 8.457 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.226e-06/0.3231, allocations: 0 / 1.286 GB, free: 8.457 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.027e-05/0.3231, allocations: 0 / 1.286 GB, free: 8.457 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.73e-05/0.3231, allocations: 4.094 kB / 1.286 GB, free: 8.453 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.348e-06/0.3231, allocations: 4 kB / 1.286 GB, free: 8.449 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.722e-05/0.3231, allocations: 0 / 1.286 GB, free: 8.449 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.841e-06/0.3231, allocations: 4 kB / 1.286 GB, free: 8.445 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 (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.551e-05/0.3232, allocations: 105.8 kB / 1.286 GB, free: 8.332 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.168e-05/0.3232, allocations: 7.922 kB / 1.286 GB, free: 8.324 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.706e-05/0.3233, allocations: 41.02 kB / 1.286 GB, free: 8.281 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.3233, allocations: 4 kB / 1.287 GB, free: 8.277 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.3233, allocations: 0 / 1.287 GB, free: 8.277 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.364e-06/0.3233, allocations: 8.156 kB / 1.287 GB, free: 8.27 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001134/0.3234, allocations: 132.7 kB / 1.287 GB, free: 8.098 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.81e-07/0.3234, allocations: 0 / 1.287 GB, free: 8.098 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.196e-05/0.3235, allocations: 4 kB / 1.287 GB, free: 8.094 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.3235, allocations: 3.984 kB / 1.287 GB, free: 8.09 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.168e-06/0.3235, allocations: 7.984 kB / 1.287 GB, free: 8.082 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.3235, allocations: 0 / 1.287 GB, free: 8.082 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.3235, allocations: 0 / 1.287 GB, free: 8.082 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.113e-05/0.3236, allocations: 69.02 kB / 1.287 GB, free: 7.996 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.201e-06/0.3236, allocations: 4 kB / 1.287 GB, free: 7.992 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.202e-05/0.3236, allocations: 3.984 kB / 1.287 GB, free: 7.988 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.644e-05/0.3236, allocations: 0 / 1.287 GB, free: 7.988 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.296e-06/0.3236, allocations: 0 / 1.287 GB, free: 7.988 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.75e-06/0.3236, allocations: 4 kB / 1.287 GB, free: 7.984 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.239e-05/0.3236, allocations: 83.22 kB / 1.287 GB, free: 7.902 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8.1e-08/0.3236, allocations: 0 / 1.287 GB, free: 7.902 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0001902/0.3238, allocations: 15.94 kB / 1.287 GB, free: 7.887 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 (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.0004218/0.3243, allocations: 0.624 MB / 1.287 GB, free: 7.23 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 6.671e-05/0.3243, allocations: 8 kB / 1.287 GB, free: 7.223 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.3243, allocations: 4 kB / 1.287 GB, free: 7.219 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.142e-05/0.3243, allocations: 3.938 kB / 1.287 GB, free: 7.215 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002106/0.3245, allocations: 13.69 kB / 1.287 GB, free: 7.203 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009701/0.3255, allocations: 1.083 MB / 1.289 GB, free: 6.035 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002921/0.3258, allocations: 0.6767 MB / 1.289 GB, free: 5.332 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.447e-05/0.3258, allocations: 4 kB / 1.289 GB, free: 5.328 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.641e-05/0.3259, allocations: 7.438 kB / 1.289 GB, free: 5.32 MB / 0.9825 GB Notification: Performance of SimCode: time 3.1e-07/0.3259, allocations: 0 / 1.289 GB, free: 5.32 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02732/0.3532, allocations: 1.538 MB / 1.291 GB, free: 3.918 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.28/11.63, allocations: 13.86 kB / 1.291 GB, free: 3.906 MB / 0.9825 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; mkfifo Buildings_11_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; head -c 1048576 < Buildings_11_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe >> ../files/Buildings_11_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw_res.mat --tempDir=temp_Buildings_11_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLaw_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLaw.fmu > Buildings_11_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLaw.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 19.270776286022738]