Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck.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.001302/0.001302, allocations: 69.89 kB / 20.65 MB, free: 3.852 MB / 18.57 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.001567/0.001567, allocations: 173 kB / 24.06 MB, free: 456 kB / 18.57 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.061/1.061, allocations: 177.1 MB / 204.5 MB, free: 5.543 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.231/2.231, allocations: 429.5 MB / 0.6743 GB, free: 3.945 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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: translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_comp",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_comp",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.894e-06/1.894e-06, allocations: 1.094 kB / 0.8794 GB, free: 6.023 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.827e-05/4.017e-05, allocations: 8.984 kB / 0.8794 GB, free: 6.016 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck): time 0.002424/0.002464, allocations: 1.403 MB / 0.8808 GB, free: 4.625 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001264/0.003728, allocations: 0.9121 MB / 0.8817 GB, free: 3.715 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.026e-05/0.003778, allocations: 1.781 kB / 0.8817 GB, free: 3.715 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.816e-05/0.003806, allocations: 3.938 kB / 0.8817 GB, free: 3.711 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 7.182e-05/0.003878, allocations: 7.938 kB / 0.8817 GB, free: 3.703 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006489/0.004527, allocations: 225.8 kB / 0.8819 GB, free: 3.484 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001068/0.004634, allocations: 39.8 kB / 0.8819 GB, free: 3.445 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 5.979e-05/0.004693, allocations: 8.703 kB / 0.882 GB, free: 3.438 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 8.954e-05/0.004783, allocations: 23.92 kB / 0.882 GB, free: 3.414 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 7.865e-05/0.004862, allocations: 23.81 kB / 0.882 GB, free: 3.395 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.633e-05/0.004878, allocations: 0 / 0.882 GB, free: 3.395 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004549/0.005333, allocations: 375.4 kB / 0.8824 GB, free: 3.027 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.494e-05/0.005358, allocations: 11.98 kB / 0.8824 GB, free: 3.016 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.363e-05/0.005381, allocations: 11.92 kB / 0.8824 GB, free: 3.004 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0003852/0.005767, allocations: 299.2 kB / 0.8827 GB, free: 2.711 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 5.62e-06/0.005772, allocations: 0 / 0.8827 GB, free: 2.711 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.245e-06/0.005774, allocations: 0 / 0.8827 GB, free: 2.711 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.302e-06/0.005781, allocations: 0 / 0.8827 GB, free: 2.711 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005217/0.006302, allocations: 455.6 kB / 0.8831 GB, free: 2.227 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.167e-05/0.006354, allocations: 9.5 kB / 0.8831 GB, free: 2.219 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002279/0.006582, allocations: 20.88 kB / 0.8831 GB, free: 2.199 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001356/0.006718, allocations: 116.5 kB / 0.8832 GB, free: 2.059 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.543e-05/0.006733, allocations: 384 / 0.8832 GB, free: 2.059 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.3e-05/0.006756, allocations: 5.375 kB / 0.8832 GB, free: 2.055 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001644/0.00692, allocations: 88.58 kB / 0.8833 GB, free: 1.953 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.788e-06/0.00693, allocations: 1.312 kB / 0.8833 GB, free: 1.953 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.939e-06/0.00694, allocations: 8.312 kB / 0.8833 GB, free: 1.945 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.473e-06/0.006947, allocations: 384 / 0.8833 GB, free: 1.945 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.309e-05/0.00698, allocations: 17.05 kB / 0.8834 GB, free: 1.93 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000149/0.007129, allocations: 109.2 kB / 0.8835 GB, free: 1.797 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001925/0.007321, allocations: 56.67 kB / 0.8835 GB, free: 1.73 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.659e-05/0.007348, allocations: 15.62 kB / 0.8835 GB, free: 1.711 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.545e-05/0.007363, allocations: 4 kB / 0.8835 GB, free: 1.707 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.593e-05/0.007399, allocations: 40.25 kB / 0.8836 GB, free: 1.66 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=4): time 1.803e-06/0.007401, allocations: 0 / 0.8836 GB, free: 1.66 MB / 0.8386 GB Notification: Performance of matching and sorting (n=6): time 0.0009831/0.008384, allocations: 321.5 kB / 0.8839 GB, free: 1.309 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.219e-05/0.008426, allocations: 51.41 kB / 0.8839 GB, free: 1.246 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001174/0.008544, allocations: 191.5 kB / 0.8841 GB, free: 1.043 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.599e-05/0.00856, allocations: 25.7 kB / 0.8841 GB, free: 1.012 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.556e-05/0.008615, allocations: 130.9 kB / 0.8843 GB, free: 0.8789 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.435e-05/0.00865, allocations: 23.84 kB / 0.8843 GB, free: 0.8555 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.302e-05/0.008703, allocations: 39.34 kB / 0.8843 GB, free: 0.8086 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001501/0.008853, allocations: 496.7 kB / 0.8848 GB, free: 320 kB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.173e-05/0.008904, allocations: 33.58 kB / 0.8848 GB, free: 288 kB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.629e-05/0.008941, allocations: 27.97 kB / 0.8849 GB, free: 260 kB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.918e-05/0.00903, allocations: 63.05 kB / 0.8849 GB, free: 196 kB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.009031, allocations: 4 kB / 0.8849 GB, free: 192 kB / 0.8386 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001558/0.009187, allocations: 114.3 kB / 0.885 GB, free: 72 kB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.948e-05/0.009206, allocations: 8 kB / 0.885 GB, free: 64 kB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.621e-05/0.009223, allocations: 0.875 kB / 0.885 GB, free: 64 kB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.423e-05/0.009237, allocations: 4 kB / 0.885 GB, free: 60 kB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001056/0.009342, allocations: 24.25 kB / 0.8851 GB, free: 36 kB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.887e-06/0.009346, allocations: 0 / 0.8851 GB, free: 36 kB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.088e-05/0.009387, allocations: 11.94 kB / 0.8851 GB, free: 24 kB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.241e-05/0.009399, allocations: 4 kB / 0.8851 GB, free: 20 kB / 0.8386 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 (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0001264/0.009526, allocations: 156.6 kB / 0.8852 GB, free: 15.86 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.897e-05/0.009545, allocations: 7.953 kB / 0.8852 GB, free: 15.85 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.925e-05/0.009584, allocations: 12.42 kB / 0.8852 GB, free: 15.84 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.009586, allocations: 0 / 0.8852 GB, free: 15.84 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.009591, allocations: 4 kB / 0.8852 GB, free: 15.83 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.009597, allocations: 3.938 kB / 0.8853 GB, free: 15.83 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004423/0.01004, allocations: 325.7 kB / 0.8856 GB, free: 15.47 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/0.01004, allocations: 7.938 kB / 0.8856 GB, free: 15.46 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.934e-05/0.01012, allocations: 15.98 kB / 0.8856 GB, free: 15.45 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.427e-06/0.01013, allocations: 0 / 0.8856 GB, free: 15.45 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.046e-05/0.01014, allocations: 0 / 0.8856 GB, free: 15.45 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.985e-06/0.01014, allocations: 0 / 0.8856 GB, free: 15.45 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/0.01014, allocations: 3.938 kB / 0.8856 GB, free: 15.45 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002369/0.01038, allocations: 251.5 kB / 0.8858 GB, free: 15.18 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 3.276e-05/0.01041, allocations: 12 kB / 0.8858 GB, free: 15.16 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.715e-05/0.01043, allocations: 4 kB / 0.8858 GB, free: 15.16 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.876e-05/0.01049, allocations: 3.984 kB / 0.8858 GB, free: 15.16 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.351e-05/0.01051, allocations: 11.94 kB / 0.8859 GB, free: 15.14 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.055e-06/0.01052, allocations: 4 kB / 0.8859 GB, free: 15.14 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 5.297e-05/0.01057, allocations: 138.4 kB / 0.886 GB, free: 15.01 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5.1e-08/0.01057, allocations: 0 / 0.886 GB, free: 15.01 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001928/0.01077, allocations: 27.92 kB / 0.886 GB, free: 14.98 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (m_flow_comp) * 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 (6): * Single equations (assignments): 6 * 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.0001793/0.01094, allocations: 111.2 kB / 0.8861 GB, free: 14.86 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001767/0.01112, allocations: 105.3 kB / 0.8862 GB, free: 14.75 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.01112, allocations: 0 / 0.8862 GB, free: 14.75 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 3.969e-05/0.01116, allocations: 35.78 kB / 0.8863 GB, free: 14.71 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002257/0.01139, allocations: 15.92 kB / 0.8863 GB, free: 14.7 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006585/0.01205, allocations: 230.2 kB / 0.8865 GB, free: 14.44 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.048e-05/0.01209, allocations: 59.34 kB / 0.8866 GB, free: 14.36 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 4.01e-05/0.01213, allocations: 8 kB / 0.8866 GB, free: 14.35 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.513e-05/0.01222, allocations: 86.19 kB / 0.8866 GB, free: 14.27 MB / 0.8542 GB Notification: Performance of SimCode: time 1.022e-06/0.01222, allocations: 0 / 0.8866 GB, free: 14.27 MB / 0.8542 GB Notification: Performance of Templates: time 0.004334/0.01656, allocations: 1.996 MB / 0.8886 GB, free: 12.3 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck.sim & ./Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_BaseClasses_FlowModels_Validation_PowerLaw_dp_DerivativeCheck.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.790160734206438]