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.00154/0.00154, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.001436/0.001436, allocations: 219 kB / 22.25 MB, free: 5.258 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.395/1.395, allocations: 230.6 MB / 256 MB, free: 7.789 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.093/3.093, allocations: 0.49 GB / 0.7951 GB, free: 35.54 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.002018/0.002018, allocations: 70.7 kB / 1.154 GB, free: 25.48 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3172/0.3193, allocations: 176.1 MB / 1.326 GB, free: 1.52 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw): time 0.002447/0.3217, allocations: 1.27 MB / 1.327 GB, free: 248 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0003136/0.322, allocations: 103.7 kB / 1.327 GB, free: 144 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.979e-05/0.3221, allocations: 3.938 kB / 1.327 GB, free: 140 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 2.088e-05/0.3221, allocations: 0 / 1.327 GB, free: 140 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 7.2e-05/0.3221, allocations: 3.984 kB / 1.327 GB, free: 136 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002277/0.3224, allocations: 43.83 kB / 1.327 GB, free: 92 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 6.424e-05/0.3224, allocations: 19.92 kB / 1.327 GB, free: 72 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 5.003e-05/0.3225, allocations: 3.984 kB / 1.327 GB, free: 68 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 2.276e-05/0.3225, allocations: 7.938 kB / 1.327 GB, free: 60 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 5.175e-05/0.3226, allocations: 0 / 1.327 GB, free: 60 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.203e-05/0.3226, allocations: 4 kB / 1.327 GB, free: 56 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001323/0.3227, allocations: 51.94 kB / 1.327 GB, free: 4 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 3.095e-05/0.3227, allocations: 8.016 kB / 1.327 GB, free: 15.99 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 3.28e-05/0.3228, allocations: 19.92 kB / 1.327 GB, free: 15.97 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001257/0.3229, allocations: 36.17 kB / 1.327 GB, free: 15.94 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.3229, allocations: 0 / 1.327 GB, free: 15.94 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.623e-06/0.3229, allocations: 0 / 1.327 GB, free: 15.94 MB / 1.029 GB Notification: Performance of Transformations before backend: time 9.748e-06/0.3229, allocations: 0 / 1.327 GB, free: 15.94 MB / 1.029 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.0004259/0.3233, allocations: 258.2 kB / 1.328 GB, free: 15.66 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.471e-05/0.3234, allocations: 12.03 kB / 1.328 GB, free: 15.64 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.661e-05/0.3234, allocations: 30.75 kB / 1.328 GB, free: 15.61 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.618e-05/0.3234, allocations: 8.875 kB / 1.328 GB, free: 15.6 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001218/0.3236, allocations: 102.5 kB / 1.328 GB, free: 15.47 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.316e-06/0.3236, allocations: 8.219 kB / 1.328 GB, free: 15.47 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.445e-05/0.3236, allocations: 8.125 kB / 1.328 GB, free: 15.46 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.393e-05/0.3237, allocations: 33.69 kB / 1.328 GB, free: 15.42 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.825e-06/0.3237, allocations: 0 / 1.328 GB, free: 15.42 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.494e-06/0.3237, allocations: 0 / 1.328 GB, free: 15.42 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.577e-06/0.3237, allocations: 0 / 1.328 GB, free: 15.42 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.075e-05/0.3237, allocations: 4 kB / 1.328 GB, free: 15.42 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001642/0.3239, allocations: 124.8 kB / 1.328 GB, free: 15.25 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 6.793e-05/0.324, allocations: 30.53 kB / 1.328 GB, free: 15.21 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.34e-05/0.324, allocations: 12.86 kB / 1.328 GB, free: 15.2 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005108/0.3245, allocations: 87.92 kB / 1.328 GB, free: 15.11 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.971e-05/0.3245, allocations: 30.56 kB / 1.328 GB, free: 15.07 MB / 1.029 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.3245, allocations: 0 / 1.328 GB, free: 15.07 MB / 1.029 GB Notification: Performance of matching and sorting (n=2): time 0.0001593/0.3247, allocations: 41.69 kB / 1.328 GB, free: 15.03 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.714e-05/0.3247, allocations: 55.41 kB / 1.328 GB, free: 14.96 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.262e-05/0.3248, allocations: 93.86 kB / 1.328 GB, free: 14.86 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.771e-05/0.3248, allocations: 25.7 kB / 1.328 GB, free: 14.83 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 4.792e-05/0.3249, allocations: 80.14 kB / 1.328 GB, free: 14.75 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.873e-05/0.3249, allocations: 7.953 kB / 1.328 GB, free: 14.74 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.292e-05/0.3249, allocations: 25.77 kB / 1.328 GB, free: 14.71 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001433/0.3251, allocations: 310.8 kB / 1.329 GB, free: 14.39 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.56e-05/0.3251, allocations: 4 kB / 1.329 GB, free: 14.39 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.015e-05/0.3251, allocations: 4 kB / 1.329 GB, free: 14.39 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.345e-05/0.3251, allocations: 12.86 kB / 1.329 GB, free: 14.37 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.3251, allocations: 0 / 1.329 GB, free: 14.37 MB / 1.029 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.266e-05/0.3252, allocations: 49.58 kB / 1.329 GB, free: 14.32 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.246e-05/0.3252, allocations: 4 kB / 1.329 GB, free: 14.31 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/0.3252, allocations: 0 / 1.329 GB, free: 14.31 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.29e-05/0.3252, allocations: 8.094 kB / 1.329 GB, free: 14.3 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.347e-05/0.3253, allocations: 0 / 1.329 GB, free: 14.3 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.989e-06/0.3253, allocations: 3.938 kB / 1.329 GB, free: 14.3 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.888e-05/0.3253, allocations: 7.938 kB / 1.329 GB, free: 14.29 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.799e-06/0.3253, allocations: 0 / 1.329 GB, free: 14.29 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 8.17e-05/0.3254, allocations: 110.3 kB / 1.329 GB, free: 14.18 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.429e-05/0.3254, allocations: 7.938 kB / 1.329 GB, free: 14.17 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001023/0.3255, allocations: 48.98 kB / 1.329 GB, free: 14.11 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.3255, allocations: 0 / 1.329 GB, free: 14.11 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.3255, allocations: 0 / 1.329 GB, free: 14.11 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.3255, allocations: 4.031 kB / 1.329 GB, free: 14.11 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001212/0.3256, allocations: 132.7 kB / 1.329 GB, free: 13.93 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.001e-06/0.3256, allocations: 0 / 1.329 GB, free: 13.93 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.226e-05/0.3257, allocations: 4 kB / 1.329 GB, free: 13.93 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.412e-06/0.3257, allocations: 0 / 1.329 GB, free: 13.93 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.081e-06/0.3257, allocations: 0 / 1.329 GB, free: 13.93 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.3257, allocations: 0 / 1.329 GB, free: 13.93 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.3257, allocations: 3.938 kB / 1.329 GB, free: 13.93 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.397e-05/0.3258, allocations: 69.06 kB / 1.329 GB, free: 13.84 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.993e-06/0.3258, allocations: 192 / 1.329 GB, free: 13.84 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.541e-05/0.3258, allocations: 8.031 kB / 1.329 GB, free: 13.83 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.924e-05/0.3258, allocations: 3.984 kB / 1.329 GB, free: 13.83 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.687e-05/0.3258, allocations: 0 / 1.329 GB, free: 13.83 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.722e-06/0.3258, allocations: 7.984 kB / 1.329 GB, free: 13.82 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.671e-05/0.3259, allocations: 83.28 kB / 1.329 GB, free: 13.74 MB / 1.029 GB Notification: Performance of sort global known variables: time 6e-08/0.3259, allocations: 0 / 1.329 GB, free: 13.74 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002306/0.3261, allocations: 15.94 kB / 1.329 GB, free: 13.72 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.0004504/0.3266, allocations: 0.6162 MB / 1.33 GB, free: 13.07 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 8.641e-05/0.3266, allocations: 16.02 kB / 1.33 GB, free: 13.06 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.3266, allocations: 4.062 kB / 1.33 GB, free: 13.05 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.182e-05/0.3267, allocations: 4 kB / 1.33 GB, free: 13.05 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002676/0.3269, allocations: 2.031 kB / 1.33 GB, free: 13.05 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001005/0.3279, allocations: 1.087 MB / 1.331 GB, free: 11.88 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.738e-05/0.328, allocations: 67.28 kB / 1.331 GB, free: 11.8 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.399e-05/0.328, allocations: 4.125 kB / 1.331 GB, free: 11.79 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.831e-05/0.328, allocations: 11.44 kB / 1.331 GB, free: 11.78 MB / 1.029 GB Notification: Performance of SimCode: time 6.41e-07/0.328, allocations: 0 / 1.331 GB, free: 11.78 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02789/0.3559, allocations: 2.004 MB / 1.333 GB, free: 9.914 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.55/10.9, allocations: 4.062 kB / 1.333 GB, free: 9.91 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.348756358987885]