Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_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.001182/0.001182, allocations: 93.06 kB / 19.65 MB, free: 276 kB / 13.93 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.001303/0.001303, allocations: 165.3 kB / 23.02 MB, free: 1.551 MB / 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.047/1.047, allocations: 177.1 MB / 203.4 MB, free: 5.648 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.158/2.158, allocations: 429.5 MB / 0.6732 GB, free: 4.027 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_m_flow_DerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dp|dp_comp",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dp|dp_comp",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.844e-06/1.844e-06, allocations: 0 / 0.8782 GB, free: 6.273 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.06e-05/3.244e-05, allocations: 6 kB / 0.8782 GB, free: 6.27 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck): time 0.002477/0.002509, allocations: 1.418 MB / 0.8796 GB, free: 4.859 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001059/0.003568, allocations: 0.9211 MB / 0.8805 GB, free: 3.941 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.727e-05/0.003625, allocations: 0.9375 kB / 0.8805 GB, free: 3.941 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.152e-05/0.003657, allocations: 3.938 kB / 0.8805 GB, free: 3.938 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 6.106e-05/0.003718, allocations: 19.84 kB / 0.8805 GB, free: 3.918 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007139/0.004432, allocations: 214.2 kB / 0.8807 GB, free: 3.711 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 8.963e-05/0.004521, allocations: 51.22 kB / 0.8808 GB, free: 3.664 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 4.585e-05/0.004567, allocations: 4 kB / 0.8808 GB, free: 3.66 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 6.053e-05/0.004628, allocations: 27.91 kB / 0.8808 GB, free: 3.633 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 5.133e-05/0.004679, allocations: 15.97 kB / 0.8808 GB, free: 3.617 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.341e-05/0.004693, allocations: 0 / 0.8808 GB, free: 3.617 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004416/0.005134, allocations: 383.3 kB / 0.8812 GB, free: 3.242 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.091e-05/0.005155, allocations: 4 kB / 0.8812 GB, free: 3.238 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 3.182e-05/0.005187, allocations: 23.91 kB / 0.8812 GB, free: 3.215 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0003456/0.005533, allocations: 291.2 kB / 0.8815 GB, free: 2.93 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.005536, allocations: 0 / 0.8815 GB, free: 2.93 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.042e-06/0.005537, allocations: 4.594 kB / 0.8815 GB, free: 2.926 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.73e-06/0.005543, allocations: 0.5938 kB / 0.8815 GB, free: 2.926 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.0004315/0.005974, allocations: 451.6 kB / 0.8819 GB, free: 2.445 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.938e-05/0.006014, allocations: 8.938 kB / 0.8819 GB, free: 2.438 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002155/0.006229, allocations: 20.88 kB / 0.8819 GB, free: 2.418 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.671e-05/0.006326, allocations: 113.3 kB / 0.882 GB, free: 2.281 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.833e-05/0.006344, allocations: 8.375 kB / 0.8821 GB, free: 2.273 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.646e-05/0.006371, allocations: 5.844 kB / 0.8821 GB, free: 2.27 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001474/0.006518, allocations: 92.62 kB / 0.8821 GB, free: 2.164 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.324e-06/0.006525, allocations: 192 / 0.8821 GB, free: 2.164 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.093e-05/0.006536, allocations: 4.375 kB / 0.8822 GB, free: 2.16 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.774e-06/0.006544, allocations: 384 / 0.8822 GB, free: 2.16 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.245e-05/0.006587, allocations: 23.86 kB / 0.8822 GB, free: 2.137 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001459/0.006733, allocations: 128.6 kB / 0.8823 GB, free: 1.977 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001887/0.006921, allocations: 55.08 kB / 0.8824 GB, free: 1.91 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.345e-05/0.006955, allocations: 23.69 kB / 0.8824 GB, free: 1.883 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.577e-05/0.00697, allocations: 0 / 0.8824 GB, free: 1.883 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.378e-05/0.006994, allocations: 33.48 kB / 0.8824 GB, free: 1.84 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=4): time 7.52e-07/0.006995, allocations: 0 / 0.8824 GB, free: 1.84 MB / 0.8386 GB Notification: Performance of matching and sorting (n=6): time 0.0009584/0.007953, allocations: 345.4 kB / 0.8827 GB, free: 1.465 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.746e-05/0.007981, allocations: 55.34 kB / 0.8828 GB, free: 1.398 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.646e-05/0.008077, allocations: 185.8 kB / 0.883 GB, free: 1.199 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.55e-05/0.008093, allocations: 29.7 kB / 0.883 GB, free: 1.164 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.128e-05/0.008134, allocations: 138.8 kB / 0.8831 GB, free: 1.023 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.643e-05/0.008161, allocations: 19.84 kB / 0.8831 GB, free: 1.004 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.009e-05/0.008211, allocations: 35.36 kB / 0.8832 GB, free: 0.9609 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001168/0.008327, allocations: 496.1 kB / 0.8837 GB, free: 476 kB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.579e-05/0.008383, allocations: 35.98 kB / 0.8837 GB, free: 440 kB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.37e-05/0.008427, allocations: 31.98 kB / 0.8837 GB, free: 408 kB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001039/0.008531, allocations: 78.7 kB / 0.8838 GB, free: 328 kB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.008532, allocations: 0 / 0.8838 GB, free: 328 kB / 0.8386 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001658/0.008698, allocations: 125.6 kB / 0.8839 GB, free: 196 kB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.877e-05/0.008717, allocations: 4 kB / 0.8839 GB, free: 192 kB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.709e-05/0.008734, allocations: 7.984 kB / 0.8839 GB, free: 184 kB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.839e-05/0.008752, allocations: 0 / 0.8839 GB, free: 184 kB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.518e-05/0.008837, allocations: 16.05 kB / 0.8839 GB, free: 168 kB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.437e-06/0.008847, allocations: 11.94 kB / 0.8839 GB, free: 156 kB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.699e-05/0.008884, allocations: 0 / 0.8839 GB, free: 156 kB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.044e-05/0.008894, allocations: 4 kB / 0.884 GB, free: 152 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.0001031/0.008997, allocations: 164.5 kB / 0.8841 GB, free: 15.98 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.585e-05/0.009013, allocations: 3.984 kB / 0.8841 GB, free: 15.97 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.726e-05/0.00905, allocations: 12.44 kB / 0.8841 GB, free: 15.96 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.009052, allocations: 0 / 0.8841 GB, free: 15.96 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.009058, allocations: 7.875 kB / 0.8841 GB, free: 15.95 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.009061, allocations: 0 / 0.8841 GB, free: 15.95 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004184/0.009479, allocations: 345.1 kB / 0.8845 GB, free: 15.57 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.009481, allocations: 3.938 kB / 0.8845 GB, free: 15.57 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.791e-05/0.009549, allocations: 19.98 kB / 0.8845 GB, free: 15.55 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.009551, allocations: 336 / 0.8845 GB, free: 15.55 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.219e-05/0.009564, allocations: 11.92 kB / 0.8845 GB, free: 15.54 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.009565, allocations: 0 / 0.8845 GB, free: 15.54 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.009566, allocations: 0 / 0.8845 GB, free: 15.54 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000214/0.00978, allocations: 247.6 kB / 0.8847 GB, free: 15.27 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.838e-05/0.009809, allocations: 11.97 kB / 0.8847 GB, free: 15.26 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.515e-05/0.009824, allocations: 3.938 kB / 0.8847 GB, free: 15.25 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.769e-05/0.009882, allocations: 15.98 kB / 0.8848 GB, free: 15.24 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.298e-05/0.009905, allocations: 8 kB / 0.8848 GB, free: 15.23 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.585e-06/0.009912, allocations: 3.984 kB / 0.8848 GB, free: 15.23 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 4.637e-05/0.009959, allocations: 142.5 kB / 0.8849 GB, free: 15.09 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.009959, allocations: 0 / 0.8849 GB, free: 15.09 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.000188/0.01015, allocations: 23.94 kB / 0.8849 GB, free: 15.07 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (dp_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.0001553/0.0103, allocations: 115.2 kB / 0.885 GB, free: 14.95 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.000176/0.01048, allocations: 105.3 kB / 0.8851 GB, free: 14.83 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.01048, allocations: 4 kB / 0.8851 GB, free: 14.83 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 3.988e-05/0.01052, allocations: 35.8 kB / 0.8852 GB, free: 14.79 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002153/0.01073, allocations: 13.73 kB / 0.8852 GB, free: 14.78 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007313/0.01147, allocations: 238.2 kB / 0.8854 GB, free: 14.51 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.596e-05/0.0115, allocations: 59.34 kB / 0.8855 GB, free: 14.43 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 3.936e-05/0.01154, allocations: 8 kB / 0.8855 GB, free: 14.43 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.417e-05/0.01159, allocations: 16.48 kB / 0.8855 GB, free: 14.41 MB / 0.8542 GB Notification: Performance of SimCode: time 7.21e-07/0.01159, allocations: 0 / 0.8855 GB, free: 14.41 MB / 0.8542 GB Notification: Performance of Templates: time 0.003565/0.01515, allocations: 1.795 MB / 0.8873 GB, free: 12.67 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck.sim & ./Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_BaseClasses_FlowModels_Validation_PowerLaw_m_flow_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.833091751206666]