Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.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.00172/0.00172, allocations: 107.8 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.001904/0.001904, allocations: 187.7 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.499/1.499, allocations: 225.6 MB / 247.8 MB, free: 3.734 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.708/2.708, allocations: 443.5 MB / 0.7287 GB, free: 14.64 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.BaseClasses.Examples.PowerLawFixedM,fileNamePrefix="Buildings_10_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM,fileNamePrefix="Buildings_10_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002176/0.002176, allocations: 63.89 kB / 1.056 GB, free: 2.562 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3053/0.3075, allocations: 160.7 MB / 1.213 GB, free: 1.523 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM): time 0.002594/0.3101, allocations: 1.286 MB / 1.214 GB, free: 224 kB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.000676/0.3108, allocations: 306.8 kB / 1.214 GB, free: 15.92 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.496e-05/0.3108, allocations: 4 kB / 1.214 GB, free: 15.91 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.96e-05/0.3109, allocations: 3.938 kB / 1.214 GB, free: 15.91 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001152/0.311, allocations: 11.92 kB / 1.214 GB, free: 15.9 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003725/0.3113, allocations: 75.72 kB / 1.215 GB, free: 15.82 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 9.053e-05/0.3114, allocations: 27.92 kB / 1.215 GB, free: 15.8 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 5.355e-05/0.3115, allocations: 15.97 kB / 1.215 GB, free: 15.78 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001128/0.3116, allocations: 27.86 kB / 1.215 GB, free: 15.75 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 4.791e-05/0.3116, allocations: 11.92 kB / 1.215 GB, free: 15.74 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.751e-05/0.3117, allocations: 8 kB / 1.215 GB, free: 15.73 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001793/0.3118, allocations: 83.91 kB / 1.215 GB, free: 15.65 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.451e-05/0.3119, allocations: 4 kB / 1.215 GB, free: 15.65 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.9e-05/0.3119, allocations: 11.94 kB / 1.215 GB, free: 15.64 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001767/0.3121, allocations: 76 kB / 1.215 GB, free: 15.56 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.3121, allocations: 0 / 1.215 GB, free: 15.56 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.222e-06/0.3121, allocations: 0 / 1.215 GB, free: 15.56 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.57e-06/0.3121, allocations: 0 / 1.215 GB, free: 15.56 MB / 0.9669 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.0004499/0.3125, allocations: 363.1 kB / 1.215 GB, free: 15.16 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.098e-05/0.3126, allocations: 12.03 kB / 1.215 GB, free: 15.15 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.129e-05/0.3126, allocations: 34.75 kB / 1.215 GB, free: 15.11 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.016e-05/0.3126, allocations: 4.938 kB / 1.215 GB, free: 15.1 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001407/0.3128, allocations: 168.3 kB / 1.215 GB, free: 14.9 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.33e-05/0.3128, allocations: 4.375 kB / 1.215 GB, free: 14.89 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.044e-05/0.3128, allocations: 8.062 kB / 1.215 GB, free: 14.89 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001265/0.3129, allocations: 37.67 kB / 1.215 GB, free: 14.84 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.155e-06/0.3129, allocations: 0 / 1.215 GB, free: 14.84 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.073e-05/0.3129, allocations: 4 kB / 1.215 GB, free: 14.84 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.3129, allocations: 0 / 1.215 GB, free: 14.84 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.198e-05/0.313, allocations: 15.98 kB / 1.215 GB, free: 14.82 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001892/0.3132, allocations: 165.6 kB / 1.216 GB, free: 14.61 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 9.246e-05/0.3133, allocations: 34.58 kB / 1.216 GB, free: 14.57 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.421e-05/0.3133, allocations: 8.797 kB / 1.216 GB, free: 14.56 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001309/0.3146, allocations: 1.187 MB / 1.217 GB, free: 13.11 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.603e-05/0.3146, allocations: 34.56 kB / 1.217 GB, free: 13.07 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=3): time 1.153e-06/0.3146, allocations: 0 / 1.217 GB, free: 13.07 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3): time 0.000167/0.3148, allocations: 53.64 kB / 1.217 GB, free: 13.01 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.905e-05/0.3148, allocations: 51.41 kB / 1.217 GB, free: 12.95 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.267e-05/0.3149, allocations: 105.8 kB / 1.217 GB, free: 12.84 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.875e-05/0.315, allocations: 29.7 kB / 1.217 GB, free: 12.8 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 3.894e-05/0.315, allocations: 88.12 kB / 1.217 GB, free: 12.71 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.234e-05/0.315, allocations: 7.891 kB / 1.217 GB, free: 12.7 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.831e-05/0.3151, allocations: 21.66 kB / 1.217 GB, free: 12.68 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.000137/0.3152, allocations: 310.8 kB / 1.217 GB, free: 12.36 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.719e-05/0.3152, allocations: 4 kB / 1.217 GB, free: 12.36 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.744e-05/0.3152, allocations: 11.98 kB / 1.217 GB, free: 12.35 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.02e-05/0.3153, allocations: 16.86 kB / 1.217 GB, free: 12.33 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.3153, allocations: 4 kB / 1.217 GB, free: 12.32 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.982e-05/0.3154, allocations: 49.58 kB / 1.218 GB, free: 12.27 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/0.3154, allocations: 4 kB / 1.218 GB, free: 12.27 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.391e-06/0.3154, allocations: 3.938 kB / 1.218 GB, free: 12.26 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.403e-05/0.3154, allocations: 0 / 1.218 GB, free: 12.26 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.805e-05/0.3154, allocations: 11.94 kB / 1.218 GB, free: 12.25 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.3155, allocations: 0 / 1.218 GB, free: 12.25 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.972e-05/0.3155, allocations: 4 kB / 1.218 GB, free: 12.25 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.36e-06/0.3155, allocations: 0 / 1.218 GB, free: 12.25 MB / 0.9669 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 9.11e-05/0.3156, allocations: 113.8 kB / 1.218 GB, free: 12.12 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.309e-05/0.3156, allocations: 3.938 kB / 1.218 GB, free: 12.12 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001382/0.3157, allocations: 62.22 kB / 1.218 GB, free: 12.05 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.973e-06/0.3157, allocations: 0 / 1.218 GB, free: 12.05 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.3157, allocations: 0 / 1.218 GB, free: 12.05 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.3157, allocations: 48 / 1.218 GB, free: 12.05 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001369/0.3159, allocations: 165.6 kB / 1.218 GB, free: 11.84 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.3159, allocations: 0 / 1.218 GB, free: 11.84 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.93e-05/0.3159, allocations: 8 kB / 1.218 GB, free: 11.83 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.3159, allocations: 3.938 kB / 1.218 GB, free: 11.82 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.797e-06/0.3159, allocations: 3.984 kB / 1.218 GB, free: 11.82 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.3159, allocations: 4 kB / 1.218 GB, free: 11.82 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.3159, allocations: 4 kB / 1.218 GB, free: 11.81 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001011/0.316, allocations: 73.02 kB / 1.218 GB, free: 11.72 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 7.406e-05/0.3161, allocations: 85.11 kB / 1.218 GB, free: 11.62 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.466e-05/0.3161, allocations: 0 / 1.218 GB, free: 11.62 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.532e-05/0.3161, allocations: 7.984 kB / 1.218 GB, free: 11.61 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.543e-05/0.3162, allocations: 4 kB / 1.218 GB, free: 11.61 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.408e-06/0.3162, allocations: 0 / 1.218 GB, free: 11.61 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 5.546e-05/0.3162, allocations: 87.27 kB / 1.218 GB, free: 11.52 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1e-07/0.3162, allocations: 4 kB / 1.218 GB, free: 11.52 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002247/0.3164, allocations: 31.86 kB / 1.218 GB, free: 11.49 MB / 0.9669 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.0005662/0.317, allocations: 0.6494 MB / 1.219 GB, free: 10.81 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 9.736e-05/0.3171, allocations: 11.98 kB / 1.219 GB, free: 10.8 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.3171, allocations: 0 / 1.219 GB, free: 10.8 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 2.272e-05/0.3171, allocations: 15.94 kB / 1.219 GB, free: 10.79 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002507/0.3174, allocations: 3.938 kB / 1.219 GB, free: 10.78 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004969/0.3179, allocations: 167.4 kB / 1.219 GB, free: 10.58 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003325/0.3182, allocations: 0.6846 MB / 1.22 GB, free: 9.867 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 4.57e-05/0.3183, allocations: 4 kB / 1.22 GB, free: 9.863 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.298e-05/0.3183, allocations: 11.44 kB / 1.22 GB, free: 9.852 MB / 0.9669 GB Notification: Performance of SimCode: time 6.41e-07/0.3183, allocations: 0 / 1.22 GB, free: 9.852 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02217/0.3405, allocations: 1.637 MB / 1.221 GB, free: 8.328 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.023/8.363, allocations: 1.203 kB / 1.221 GB, free: 8.328 MB / 0.9669 GB " [Timeout remaining time 292] (rm -f Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; mkfifo Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; head -c 1048576 < Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe >> ../files/Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM_res.mat --tempDir=temp_Buildings_10_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM.fmu > Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 14.543725633993745]