Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_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.001631/0.001631, allocations: 110.4 kB / 18.94 MB, free: 2.949 MB / 14.72 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.00201/0.00201, allocations: 220.1 kB / 22.26 MB, free: 5.125 MB / 14.72 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.516/1.516, allocations: 230.6 MB / 256 MB, free: 7.961 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.836/2.836, allocations: 476.7 MB / 0.7707 GB, free: 4.23 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/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: "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,fileNamePrefix="Buildings_11_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,fileNamePrefix="Buildings_11_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002032/0.002032, allocations: 68.27 kB / 1.117 GB, free: 40.37 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3269/0.3289, allocations: 170 MB / 1.283 GB, free: 11.67 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.00304/0.3319, allocations: 1.318 MB / 1.285 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001281/0.3332, allocations: 0.6207 MB / 1.285 GB, free: 9.719 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.827e-05/0.3332, allocations: 0 / 1.285 GB, free: 9.719 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.228e-05/0.3333, allocations: 3.984 kB / 1.285 GB, free: 9.715 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001062/0.3334, allocations: 7.938 kB / 1.285 GB, free: 9.707 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007556/0.3341, allocations: 156.4 kB / 1.285 GB, free: 9.555 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 8.523e-05/0.3342, allocations: 27.86 kB / 1.285 GB, free: 9.527 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 5.624e-05/0.3343, allocations: 4 kB / 1.285 GB, free: 9.523 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 3.316e-05/0.3343, allocations: 15.98 kB / 1.285 GB, free: 9.508 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 7.289e-05/0.3344, allocations: 11.92 kB / 1.285 GB, free: 9.496 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.459e-05/0.3344, allocations: 0 / 1.285 GB, free: 9.496 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006119/0.335, allocations: 347.3 kB / 1.286 GB, free: 9.156 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.639e-05/0.335, allocations: 3.984 kB / 1.286 GB, free: 9.152 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.465e-05/0.3351, allocations: 19.92 kB / 1.286 GB, free: 9.133 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003196/0.3354, allocations: 151.7 kB / 1.286 GB, free: 8.988 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.3354, allocations: 0 / 1.286 GB, free: 8.988 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.183e-06/0.3354, allocations: 4 kB / 1.286 GB, free: 8.984 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.851e-06/0.3354, allocations: 4 kB / 1.286 GB, free: 8.98 MB / 0.9825 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.0004873/0.3359, allocations: 293.9 kB / 1.286 GB, free: 8.66 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.729e-05/0.3359, allocations: 12.03 kB / 1.286 GB, free: 8.648 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.91e-05/0.336, allocations: 38.73 kB / 1.286 GB, free: 8.602 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.198e-05/0.336, allocations: 4.938 kB / 1.286 GB, free: 8.598 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001217/0.3361, allocations: 106.5 kB / 1.286 GB, free: 8.469 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.8e-05/0.3361, allocations: 8.312 kB / 1.286 GB, free: 8.461 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.516e-05/0.3362, allocations: 8.375 kB / 1.286 GB, free: 8.453 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001416/0.3363, allocations: 50.23 kB / 1.286 GB, free: 8.398 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.871e-05/0.3363, allocations: 7.922 kB / 1.287 GB, free: 8.391 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.44e-05/0.3363, allocations: 4 kB / 1.287 GB, free: 8.387 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.071e-06/0.3363, allocations: 0 / 1.287 GB, free: 8.387 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.832e-05/0.3364, allocations: 19.98 kB / 1.287 GB, free: 8.367 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002186/0.3366, allocations: 140.7 kB / 1.287 GB, free: 8.188 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001236/0.3367, allocations: 58.5 kB / 1.287 GB, free: 8.121 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001198/0.3369, allocations: 32.84 kB / 1.287 GB, free: 8.086 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.503e-05/0.3369, allocations: 0 / 1.287 GB, free: 8.086 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.533e-05/0.3369, allocations: 30.56 kB / 1.287 GB, free: 8.047 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 1.062e-06/0.3369, allocations: 0 / 1.287 GB, free: 8.047 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11): time 0.001443/0.3384, allocations: 455.8 kB / 1.287 GB, free: 7.547 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.261e-05/0.3384, allocations: 55.41 kB / 1.287 GB, free: 7.48 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.456e-05/0.3385, allocations: 97.86 kB / 1.287 GB, free: 7.375 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.097e-05/0.3385, allocations: 25.7 kB / 1.287 GB, free: 7.344 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.389e-05/0.3386, allocations: 80.14 kB / 1.287 GB, free: 7.262 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 5.701e-05/0.3386, allocations: 43.64 kB / 1.287 GB, free: 7.219 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.224e-05/0.3387, allocations: 29.7 kB / 1.288 GB, free: 7.184 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001595/0.3389, allocations: 319 kB / 1.288 GB, free: 6.863 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.251e-05/0.3389, allocations: 23.98 kB / 1.288 GB, free: 6.84 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.32e-05/0.339, allocations: 20 kB / 1.288 GB, free: 6.82 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001125/0.3391, allocations: 65.16 kB / 1.288 GB, free: 6.758 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.3391, allocations: 0 / 1.288 GB, free: 6.758 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001881/0.3393, allocations: 93.58 kB / 1.288 GB, free: 6.66 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.999e-05/0.3393, allocations: 8 kB / 1.288 GB, free: 6.652 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.3393, allocations: 0 / 1.288 GB, free: 6.652 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.669e-05/0.3393, allocations: 3.938 kB / 1.288 GB, free: 6.648 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001266/0.3394, allocations: 27.92 kB / 1.288 GB, free: 6.621 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.088e-05/0.3394, allocations: 12 kB / 1.288 GB, free: 6.609 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.812e-05/0.3395, allocations: 0 / 1.288 GB, free: 6.609 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.132e-05/0.3395, allocations: 4 kB / 1.288 GB, free: 6.605 MB / 0.9825 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 0.0001132/0.3396, allocations: 109.8 kB / 1.288 GB, free: 6.488 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.044e-05/0.3396, allocations: 7.938 kB / 1.288 GB, free: 6.48 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002406/0.3399, allocations: 101.7 kB / 1.288 GB, free: 6.375 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.103e-06/0.3399, allocations: 4 kB / 1.288 GB, free: 6.371 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.3399, allocations: 3.938 kB / 1.288 GB, free: 6.367 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.3399, allocations: 4 kB / 1.288 GB, free: 6.363 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004935/0.3404, allocations: 325.5 kB / 1.289 GB, free: 5.996 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.3404, allocations: 0 / 1.289 GB, free: 5.996 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001185/0.3405, allocations: 19.98 kB / 1.289 GB, free: 5.977 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.355e-06/0.3405, allocations: 0 / 1.289 GB, free: 5.977 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.593e-05/0.3405, allocations: 11.94 kB / 1.289 GB, free: 5.965 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.3405, allocations: 0 / 1.289 GB, free: 5.965 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.3405, allocations: 0 / 1.289 GB, free: 5.965 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003083/0.3408, allocations: 219.4 kB / 1.289 GB, free: 5.734 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.524e-05/0.3408, allocations: 11.97 kB / 1.289 GB, free: 5.723 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.679e-05/0.3408, allocations: 0 / 1.289 GB, free: 5.723 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.927e-05/0.3409, allocations: 4.094 kB / 1.289 GB, free: 5.719 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.199e-05/0.341, allocations: 15.91 kB / 1.289 GB, free: 5.703 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.067e-06/0.341, allocations: 4 kB / 1.289 GB, free: 5.699 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.443e-05/0.341, allocations: 79.28 kB / 1.289 GB, free: 5.621 MB / 0.9825 GB Notification: Performance of sort global known variables: time 6e-08/0.341, allocations: 0 / 1.289 GB, free: 5.621 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002936/0.3413, allocations: 35.88 kB / 1.289 GB, free: 5.586 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (m_flow_comp,der_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 (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.0008134/0.3421, allocations: 0.8025 MB / 1.29 GB, free: 4.758 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001652/0.3423, allocations: 55.92 kB / 1.29 GB, free: 4.703 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.3423, allocations: 0 / 1.29 GB, free: 4.703 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 5.237e-05/0.3424, allocations: 27.98 kB / 1.29 GB, free: 4.676 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002323/0.3426, allocations: 4.062 kB / 1.29 GB, free: 4.672 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001733/0.3443, allocations: 1.505 MB / 1.291 GB, free: 3.09 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003717/0.3447, allocations: 0.6846 MB / 1.292 GB, free: 2.379 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.331e-05/0.3447, allocations: 11.98 kB / 1.292 GB, free: 2.367 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.907e-05/0.3448, allocations: 23.42 kB / 1.292 GB, free: 2.344 MB / 0.9825 GB Notification: Performance of SimCode: time 6.61e-07/0.3448, allocations: 0 / 1.292 GB, free: 2.344 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03256/0.3773, allocations: 2.209 MB / 1.294 GB, free: 316 kB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.37/11.75, allocations: 4.641 kB / 1.294 GB, free: 312 kB / 0.9825 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; mkfifo Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe >> ../files/Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2_fmu --startTime=-2 --stopTime=2 --stepSize=0.0016 --timeout=400 --tolerance=1e-08 Buildings_11_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2.fmu > Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 18.330533237196505] Failed to read output from testmodel.py, exit status != 0: 12.322448371211067 11.870764886 11.5321474 Calling exit ...