Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck2.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.001319/0.001319, allocations: 83.73 kB / 20.09 MB, free: 4.168 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.001141/0.001141, allocations: 156.9 kB / 23.51 MB, free: 0.75 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 0.9301/0.9301, allocations: 177.2 MB / 204 MB, free: 4.996 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.264/2.264, allocations: 439.8 MB / 0.6839 GB, free: 12.54 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 15.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.BasicFlowFunction_dp_inv_DerivativeCheck2,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dp|dp_comp|der_dp|der_dp_comp",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck2") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck2,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dp|dp_comp|der_dp|der_dp_comp",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck2") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.182e-06/1.182e-06, allocations: 0 / 0.8403 GB, free: 12.6 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.343e-05/1.461e-05, allocations: 2.312 kB / 0.8403 GB, free: 12.6 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck2): time 0.001624/0.001638, allocations: 1.443 MB / 0.8417 GB, free: 11.14 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.000727/0.002366, allocations: 0.611 MB / 0.8423 GB, free: 10.53 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.349e-05/0.002389, allocations: 0 / 0.8423 GB, free: 10.53 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 1.599e-05/0.002405, allocations: 3.938 kB / 0.8423 GB, free: 10.52 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 3.346e-05/0.002438, allocations: 3.938 kB / 0.8423 GB, free: 10.52 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.000365/0.002803, allocations: 159.2 kB / 0.8425 GB, free: 10.36 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 4.848e-05/0.002852, allocations: 31.91 kB / 0.8425 GB, free: 10.33 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 2.835e-05/0.00288, allocations: 0 / 0.8425 GB, free: 10.33 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 3.084e-05/0.002911, allocations: 19.92 kB / 0.8425 GB, free: 10.31 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 4.868e-05/0.00296, allocations: 15.97 kB / 0.8425 GB, free: 10.3 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 8.456e-06/0.002968, allocations: 4 kB / 0.8425 GB, free: 10.29 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003182/0.003286, allocations: 323.3 kB / 0.8428 GB, free: 9.977 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 1.343e-05/0.0033, allocations: 3.984 kB / 0.8428 GB, free: 9.973 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 1.492e-05/0.003315, allocations: 11.94 kB / 0.8428 GB, free: 9.961 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0001712/0.003486, allocations: 167.5 kB / 0.843 GB, free: 9.797 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.714e-06/0.003488, allocations: 0 / 0.843 GB, free: 9.797 MB / 0.8073 GB Notification: Performance of FrontEnd: time 4.71e-07/0.003488, allocations: 3.938 kB / 0.843 GB, free: 9.793 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.016e-06/0.003491, allocations: 0 / 0.843 GB, free: 9.793 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0002466/0.003738, allocations: 272.3 kB / 0.8433 GB, free: 9.5 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.479e-05/0.003773, allocations: 8.625 kB / 0.8433 GB, free: 9.492 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.997e-05/0.003793, allocations: 8.922 kB / 0.8433 GB, free: 9.484 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.346e-05/0.003856, allocations: 113.7 kB / 0.8434 GB, free: 9.348 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.796e-06/0.003865, allocations: 4.375 kB / 0.8434 GB, free: 9.344 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.839e-05/0.003883, allocations: 8.328 kB / 0.8434 GB, free: 9.336 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.007e-05/0.003963, allocations: 97.64 kB / 0.8435 GB, free: 9.223 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.123e-06/0.00397, allocations: 192 / 0.8435 GB, free: 9.223 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.202e-06/0.003977, allocations: 384 / 0.8435 GB, free: 9.223 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.003981, allocations: 4.375 kB / 0.8435 GB, free: 9.219 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.174e-05/0.004003, allocations: 15.94 kB / 0.8435 GB, free: 9.203 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.595e-05/0.004079, allocations: 69.03 kB / 0.8436 GB, free: 9.121 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 6.175e-05/0.004141, allocations: 50.56 kB / 0.8436 GB, free: 9.062 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.766e-05/0.004158, allocations: 20.86 kB / 0.8437 GB, free: 9.039 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.256e-05/0.004171, allocations: 3.984 kB / 0.8437 GB, free: 9.035 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.707e-05/0.004188, allocations: 30.72 kB / 0.8437 GB, free: 8.996 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=7): time 6.01e-07/0.004189, allocations: 0 / 0.8437 GB, free: 8.996 MB / 0.8073 GB Notification: Performance of matching and sorting (n=11): time 0.0006317/0.00482, allocations: 447.4 kB / 0.8441 GB, free: 8.504 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.176e-05/0.004842, allocations: 51.41 kB / 0.8442 GB, free: 8.441 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.338e-05/0.004886, allocations: 110.6 kB / 0.8443 GB, free: 8.32 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.141e-05/0.004897, allocations: 25.7 kB / 0.8443 GB, free: 8.289 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 1.768e-05/0.004915, allocations: 84.14 kB / 0.8444 GB, free: 8.203 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 3.486e-05/0.00495, allocations: 39.64 kB / 0.8444 GB, free: 8.164 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.799e-05/0.004978, allocations: 29.83 kB / 0.8444 GB, free: 8.129 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 6.63e-05/0.005044, allocations: 322.8 kB / 0.8447 GB, free: 7.805 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.156e-05/0.005055, allocations: 8 kB / 0.8448 GB, free: 7.797 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.465e-05/0.00507, allocations: 15.25 kB / 0.8448 GB, free: 7.785 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.768e-05/0.005108, allocations: 40.81 kB / 0.8448 GB, free: 7.742 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.91e-07/0.005108, allocations: 3.938 kB / 0.8448 GB, free: 7.738 MB / 0.8073 GB Notification: Performance of matching and sorting (n=13) (initialization): time 5.875e-05/0.005167, allocations: 69.61 kB / 0.8449 GB, free: 7.664 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.006e-05/0.005177, allocations: 6.5 kB / 0.8449 GB, free: 7.66 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.106e-06/0.00518, allocations: 0 / 0.8449 GB, free: 7.66 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.72e-06/0.005186, allocations: 0 / 0.8449 GB, free: 7.66 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.253e-05/0.005249, allocations: 23.98 kB / 0.8449 GB, free: 7.637 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.47e-06/0.005254, allocations: 11.94 kB / 0.8449 GB, free: 7.625 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.871e-05/0.005273, allocations: 4 kB / 0.8449 GB, free: 7.621 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.691e-06/0.005278, allocations: 0 / 0.8449 GB, free: 7.621 MB / 0.8073 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 (13): * Single equations (assignments): 13 * 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 5.746e-05/0.005336, allocations: 117.8 kB / 0.845 GB, free: 7.496 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.245e-05/0.005348, allocations: 4 kB / 0.845 GB, free: 7.492 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001179/0.005466, allocations: 73.78 kB / 0.8451 GB, free: 7.418 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.005469, allocations: 4 kB / 0.8451 GB, free: 7.414 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.352e-06/0.00547, allocations: 0 / 0.8451 GB, free: 7.414 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.005475, allocations: 3.938 kB / 0.8451 GB, free: 7.41 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002292/0.005704, allocations: 230.9 kB / 0.8453 GB, free: 7.16 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.005706, allocations: 4 kB / 0.8453 GB, free: 7.156 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.544e-05/0.005801, allocations: 27.98 kB / 0.8454 GB, free: 7.129 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.005804, allocations: 0 / 0.8454 GB, free: 7.129 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.412e-06/0.00581, allocations: 0 / 0.8454 GB, free: 7.129 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.724e-06/0.005812, allocations: 0 / 0.8454 GB, free: 7.129 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/0.005814, allocations: 3.938 kB / 0.8454 GB, free: 7.125 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002827/0.006096, allocations: 179.4 kB / 0.8455 GB, free: 6.934 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.038e-05/0.006107, allocations: 11.94 kB / 0.8456 GB, free: 6.922 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.132e-05/0.006118, allocations: 0 / 0.8456 GB, free: 6.922 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.561e-05/0.006184, allocations: 12 kB / 0.8456 GB, free: 6.91 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.829e-05/0.006202, allocations: 11.95 kB / 0.8456 GB, free: 6.898 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.424e-06/0.006209, allocations: 4 kB / 0.8456 GB, free: 6.895 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 8.296e-06/0.006218, allocations: 4.859 kB / 0.8456 GB, free: 6.887 MB / 0.8073 GB Notification: Performance of sort global known variables: time 8.1e-08/0.006218, allocations: 0 / 0.8456 GB, free: 6.887 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002674/0.006485, allocations: 63.73 kB / 0.8456 GB, free: 6.824 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (dp_comp,der_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 (11): * Single equations (assignments): 11 * 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.0002182/0.006703, allocations: 156 kB / 0.8458 GB, free: 6.66 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 8.726e-05/0.006791, allocations: 48.77 kB / 0.8458 GB, free: 6.609 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.006794, allocations: 0 / 0.8458 GB, free: 6.609 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 3.748e-05/0.006831, allocations: 36.78 kB / 0.8459 GB, free: 6.57 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001392/0.00697, allocations: 6.156 kB / 0.8459 GB, free: 6.566 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000433/0.007403, allocations: 233.6 kB / 0.8461 GB, free: 6.316 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.191e-05/0.007435, allocations: 59.34 kB / 0.8462 GB, free: 6.238 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 2.729e-05/0.007463, allocations: 8 kB / 0.8462 GB, free: 6.23 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.271e-05/0.007505, allocations: 63.36 kB / 0.8462 GB, free: 6.168 MB / 0.8073 GB Notification: Performance of SimCode: time 5e-07/0.007506, allocations: 4 kB / 0.8462 GB, free: 6.164 MB / 0.8073 GB Notification: Performance of Templates: time 0.002611/0.01012, allocations: 1.544 MB / 0.8477 GB, free: 4.672 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck2.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck2.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck2.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck2.sim & ./Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck2.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck2_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_inv_DerivativeCheck2.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.029932408593595]