Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.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.001865/0.001865, allocations: 113.1 kB / 17.6 MB, free: 4.703 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.002285/0.002285, allocations: 186.7 kB / 20.78 MB, free: 1.547 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 / 249.4 MB, free: 3.168 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.581/2.581, allocations: 443.4 MB / 0.7304 GB, free: 14.08 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: translateModel(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|V_flow",fileNamePrefix="Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw") translateModel(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|V_flow",fileNamePrefix="Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001942/0.001942, allocations: 63.89 kB / 1.059 GB, free: 472 kB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2947/0.2966, allocations: 160.8 MB / 1.216 GB, free: 15.43 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw): time 0.002423/0.2991, allocations: 1.267 MB / 1.217 GB, free: 14.14 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0003018/0.2994, allocations: 123.5 kB / 1.217 GB, free: 14.02 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.976e-05/0.2994, allocations: 0 / 1.217 GB, free: 14.02 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 1.48e-05/0.2994, allocations: 0 / 1.217 GB, free: 14.02 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 6.466e-05/0.2995, allocations: 7.922 kB / 1.217 GB, free: 14.01 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002097/0.2997, allocations: 35.91 kB / 1.218 GB, free: 13.98 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 5.145e-05/0.2997, allocations: 19.92 kB / 1.218 GB, free: 13.96 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.071e-05/0.2998, allocations: 3.984 kB / 1.218 GB, free: 13.95 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 1.89e-05/0.2998, allocations: 7.938 kB / 1.218 GB, free: 13.95 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 5.017e-05/0.2998, allocations: 11.88 kB / 1.218 GB, free: 13.93 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.079e-05/0.2999, allocations: 0 / 1.218 GB, free: 13.93 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000129/0.3, allocations: 51.94 kB / 1.218 GB, free: 13.88 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 9.318e-06/0.3, allocations: 0 / 1.218 GB, free: 13.88 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.621e-05/0.3, allocations: 15.92 kB / 1.218 GB, free: 13.87 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001199/0.3001, allocations: 35.88 kB / 1.218 GB, free: 13.83 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.3001, allocations: 0 / 1.218 GB, free: 13.83 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.112e-06/0.3001, allocations: 4 kB / 1.218 GB, free: 13.83 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.13e-06/0.3001, allocations: 0 / 1.218 GB, free: 13.83 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0004286/0.3006, allocations: 339.3 kB / 1.218 GB, free: 13.45 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.563e-05/0.3006, allocations: 8.031 kB / 1.218 GB, free: 13.44 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.072e-05/0.3006, allocations: 0.9375 kB / 1.218 GB, free: 13.44 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001472/0.3008, allocations: 164.4 kB / 1.218 GB, free: 13.24 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.207e-05/0.3008, allocations: 384 / 1.218 GB, free: 13.24 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.097e-06/0.3008, allocations: 384 / 1.218 GB, free: 13.24 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001046/0.3009, allocations: 41.62 kB / 1.218 GB, free: 13.2 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.415e-05/0.3009, allocations: 4 kB / 1.218 GB, free: 13.19 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.716e-06/0.3009, allocations: 0 / 1.218 GB, free: 13.19 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.608e-06/0.3009, allocations: 0 / 1.218 GB, free: 13.19 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.29e-05/0.301, allocations: 7.938 kB / 1.218 GB, free: 13.18 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002322/0.3012, allocations: 161.6 kB / 1.218 GB, free: 12.98 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 8.058e-05/0.3013, allocations: 22.61 kB / 1.218 GB, free: 12.95 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.299e-05/0.3013, allocations: 8.922 kB / 1.218 GB, free: 12.93 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009347/0.3023, allocations: 0.6129 MB / 1.219 GB, free: 12.19 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.873e-05/0.3023, allocations: 30.56 kB / 1.219 GB, free: 12.15 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 1.683e-06/0.3023, allocations: 0 / 1.219 GB, free: 12.15 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.000196/0.3025, allocations: 41.64 kB / 1.219 GB, free: 12.11 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.23e-05/0.3026, allocations: 51.41 kB / 1.219 GB, free: 12.04 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001257/0.3027, allocations: 101.8 kB / 1.219 GB, free: 11.93 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.207e-05/0.3027, allocations: 33.83 kB / 1.219 GB, free: 11.89 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.362e-05/0.3028, allocations: 80.14 kB / 1.219 GB, free: 11.81 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.654e-05/0.3028, allocations: 3.953 kB / 1.219 GB, free: 11.81 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.251e-05/0.3029, allocations: 17.72 kB / 1.219 GB, free: 11.79 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001799/0.303, allocations: 310.8 kB / 1.22 GB, free: 11.47 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.831e-05/0.3031, allocations: 3.984 kB / 1.22 GB, free: 11.47 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.098e-05/0.3031, allocations: 4 kB / 1.22 GB, free: 11.46 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.097e-05/0.3031, allocations: 20.86 kB / 1.22 GB, free: 11.44 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.3031, allocations: 0 / 1.22 GB, free: 11.44 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.686e-05/0.3032, allocations: 41.64 kB / 1.22 GB, free: 11.39 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.175e-05/0.3032, allocations: 4 kB / 1.22 GB, free: 11.39 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.643e-06/0.3032, allocations: 0 / 1.22 GB, free: 11.39 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.126e-05/0.3032, allocations: 0 / 1.22 GB, free: 11.39 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.912e-05/0.3033, allocations: 11.92 kB / 1.22 GB, free: 11.38 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.214e-06/0.3033, allocations: 0 / 1.22 GB, free: 11.38 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.072e-05/0.3033, allocations: 0 / 1.22 GB, free: 11.38 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.35e-06/0.3033, allocations: 0 / 1.22 GB, free: 11.38 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 (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 0.0001043/0.3035, allocations: 117.9 kB / 1.22 GB, free: 11.25 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.034e-05/0.3035, allocations: 3.938 kB / 1.22 GB, free: 11.25 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001493/0.3036, allocations: 48.75 kB / 1.22 GB, free: 11.2 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.915e-06/0.3036, allocations: 192 / 1.22 GB, free: 11.2 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.3036, allocations: 0 / 1.22 GB, free: 11.2 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.364e-06/0.3036, allocations: 3.984 kB / 1.22 GB, free: 11.19 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001746/0.3038, allocations: 149.7 kB / 1.22 GB, free: 11 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.838e-06/0.3038, allocations: 3.938 kB / 1.22 GB, free: 10.99 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.452e-05/0.3039, allocations: 8 kB / 1.22 GB, free: 10.98 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.3039, allocations: 7.969 kB / 1.22 GB, free: 10.98 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.506e-06/0.3039, allocations: 0 / 1.22 GB, free: 10.98 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.3039, allocations: 4 kB / 1.22 GB, free: 10.97 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.3039, allocations: 0 / 1.22 GB, free: 10.97 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000145/0.304, allocations: 69.02 kB / 1.22 GB, free: 10.89 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 7.542e-05/0.3041, allocations: 81.05 kB / 1.22 GB, free: 10.79 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.45e-05/0.3041, allocations: 4 kB / 1.22 GB, free: 10.79 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.463e-05/0.3041, allocations: 4 kB / 1.22 GB, free: 10.78 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.833e-05/0.3042, allocations: 4.031 kB / 1.22 GB, free: 10.78 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.565e-06/0.3042, allocations: 0 / 1.22 GB, free: 10.78 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 7.164e-05/0.3042, allocations: 83.27 kB / 1.22 GB, free: 10.7 MB / 0.9669 GB Notification: Performance of sort global known variables: time 8e-08/0.3042, allocations: 0 / 1.22 GB, free: 10.7 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002476/0.3045, allocations: 15.94 kB / 1.22 GB, free: 10.68 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 (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.0002436/0.3047, allocations: 112.6 kB / 1.22 GB, free: 10.56 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001355/0.3049, allocations: 11.98 kB / 1.22 GB, free: 10.55 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.3049, allocations: 4.062 kB / 1.22 GB, free: 10.54 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 1.598e-05/0.3049, allocations: 7.938 kB / 1.22 GB, free: 10.54 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003259/0.3052, allocations: 7.938 kB / 1.22 GB, free: 10.53 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004138/0.3056, allocations: 114 kB / 1.221 GB, free: 10.39 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004523/0.3061, allocations: 0.6768 MB / 1.221 GB, free: 9.688 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 3.791e-05/0.3061, allocations: 4.062 kB / 1.221 GB, free: 9.684 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.83e-05/0.3061, allocations: 11.44 kB / 1.221 GB, free: 9.672 MB / 0.9669 GB Notification: Performance of SimCode: time 5.61e-07/0.3061, allocations: 0 / 1.221 GB, free: 9.672 MB / 0.9669 GB Notification: Performance of Templates: time 0.003938/0.3101, allocations: 0.6102 MB / 1.222 GB, free: 9.066 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; mkfifo Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; head -c 1048576 < Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe >> ../files/Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.sim & ./Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLaw.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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: 7.877850491553545]