Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.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.001421/0.001421, allocations: 107.2 kB / 17.54 MB, free: 4.641 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.001419/0.001419, allocations: 189.9 kB / 20.71 MB, free: 1.484 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.289/1.289, allocations: 225.6 MB / 249.3 MB, free: 3.18 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.479/2.479, allocations: 476.7 MB / 0.7628 GB, free: 15.15 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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: "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,fileNamePrefix="Buildings_11_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,fileNamePrefix="Buildings_11_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001775/0.001775, allocations: 63.89 kB / 1.107 GB, free: 5.16 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7585/0.7603, allocations: 168.7 MB / 1.271 GB, free: 7.879 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.001819/0.7621, allocations: 1.273 MB / 1.273 GB, free: 7.012 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0007482/0.7629, allocations: 0.5841 MB / 1.273 GB, free: 6.613 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.915e-05/0.7629, allocations: 4.75 kB / 1.273 GB, free: 6.609 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 1.62e-05/0.7629, allocations: 0.5625 kB / 1.273 GB, free: 6.609 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 3.105e-05/0.7629, allocations: 0.5312 kB / 1.273 GB, free: 6.609 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004178/0.7633, allocations: 143 kB / 1.273 GB, free: 6.543 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 3.998e-05/0.7634, allocations: 13.69 kB / 1.273 GB, free: 6.535 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.551e-05/0.7634, allocations: 2.219 kB / 1.273 GB, free: 6.535 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.567e-05/0.7634, allocations: 3.578 kB / 1.273 GB, free: 6.535 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.68e-05/0.7635, allocations: 2.516 kB / 1.273 GB, free: 6.535 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 8.677e-06/0.7635, allocations: 4.688 kB / 1.273 GB, free: 6.531 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004879/0.764, allocations: 345.1 kB / 1.274 GB, free: 6.43 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 7.815e-06/0.764, allocations: 8.844 kB / 1.274 GB, free: 6.422 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 1.68e-05/0.764, allocations: 2.234 kB / 1.274 GB, free: 6.422 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002193/0.7642, allocations: 146.8 kB / 1.274 GB, free: 6.375 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.025e-06/0.7642, allocations: 0 / 1.274 GB, free: 6.375 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.052e-06/0.7642, allocations: 1.219 kB / 1.274 GB, free: 6.375 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 8.446e-06/0.7642, allocations: 0 / 1.274 GB, free: 6.375 MB / 0.9981 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.0002557/0.7645, allocations: 350.9 kB / 1.274 GB, free: 6 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.057e-05/0.7645, allocations: 13.66 kB / 1.274 GB, free: 5.996 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.991e-05/0.7645, allocations: 31.81 kB / 1.274 GB, free: 5.957 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.726e-05/0.7645, allocations: 4.938 kB / 1.274 GB, free: 5.953 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.015e-05/0.7646, allocations: 165.4 kB / 1.274 GB, free: 5.754 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.881e-06/0.7646, allocations: 1.406 kB / 1.274 GB, free: 5.754 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.706e-06/0.7646, allocations: 1.375 kB / 1.274 GB, free: 5.754 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.297e-05/0.7647, allocations: 38.88 kB / 1.274 GB, free: 5.715 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.402e-06/0.7647, allocations: 3.938 kB / 1.274 GB, free: 5.711 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.082e-06/0.7647, allocations: 1.062 kB / 1.274 GB, free: 5.711 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.797e-06/0.7647, allocations: 2.297 kB / 1.274 GB, free: 5.711 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.042e-05/0.7647, allocations: 7.031 kB / 1.274 GB, free: 5.707 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.566e-05/0.7648, allocations: 154.6 kB / 1.275 GB, free: 5.512 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.534e-05/0.7648, allocations: 19.05 kB / 1.275 GB, free: 5.488 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.393e-05/0.7649, allocations: 9.797 kB / 1.275 GB, free: 5.48 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.267e-05/0.7649, allocations: 0 / 1.275 GB, free: 5.48 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.127e-06/0.7649, allocations: 39.62 kB / 1.275 GB, free: 5.434 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 6.82e-07/0.7649, allocations: 4 kB / 1.275 GB, free: 5.43 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2): time 0.0001062/0.765, allocations: 45.77 kB / 1.275 GB, free: 5.391 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.519e-05/0.765, allocations: 52.25 kB / 1.275 GB, free: 5.328 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.649e-05/0.765, allocations: 97.89 kB / 1.275 GB, free: 5.227 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.849e-06/0.765, allocations: 26.45 kB / 1.275 GB, free: 5.195 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 1.009e-05/0.7651, allocations: 85.11 kB / 1.275 GB, free: 5.109 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.59e-05/0.7651, allocations: 4.922 kB / 1.275 GB, free: 5.105 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.128e-05/0.7651, allocations: 17.52 kB / 1.275 GB, free: 5.086 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 2.901e-05/0.7651, allocations: 315.8 kB / 1.275 GB, free: 4.77 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.908e-06/0.7651, allocations: 1.594 kB / 1.275 GB, free: 4.77 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.887e-06/0.7651, allocations: 3.906 kB / 1.275 GB, free: 4.77 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.376e-05/0.7652, allocations: 17.95 kB / 1.275 GB, free: 4.754 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.7652, allocations: 0 / 1.275 GB, free: 4.754 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.744e-05/0.7652, allocations: 35.66 kB / 1.275 GB, free: 4.723 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.182e-05/0.7652, allocations: 11.2 kB / 1.275 GB, free: 4.719 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.896e-06/0.7652, allocations: 4.094 kB / 1.275 GB, free: 4.715 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.342e-05/0.7652, allocations: 4.859 kB / 1.275 GB, free: 4.711 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001246/0.7654, allocations: 10.72 kB / 1.275 GB, free: 4.711 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001832/0.7655, allocations: 0.5859 MB / 1.276 GB, free: 4.117 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.596e-05/0.7656, allocations: 0.7812 kB / 1.276 GB, free: 4.117 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.569e-06/0.7656, allocations: 1.062 kB / 1.276 GB, free: 4.117 MB / 0.9981 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): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 3.591e-05/0.7656, allocations: 121.1 kB / 1.276 GB, free: 3.992 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.424e-06/0.7656, allocations: 0.625 kB / 1.276 GB, free: 3.992 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.551e-05/0.7657, allocations: 44.27 kB / 1.276 GB, free: 3.953 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.7657, allocations: 1.062 kB / 1.276 GB, free: 3.953 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.875e-06/0.7657, allocations: 0 / 1.276 GB, free: 3.953 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.534e-06/0.7657, allocations: 1.406 kB / 1.276 GB, free: 3.953 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.276e-05/0.7657, allocations: 150.8 kB / 1.276 GB, free: 3.762 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.7657, allocations: 1 kB / 1.276 GB, free: 3.762 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.299e-05/0.7658, allocations: 13 kB / 1.276 GB, free: 3.758 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.073e-06/0.7658, allocations: 5.625 kB / 1.276 GB, free: 3.754 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.639e-06/0.7658, allocations: 0 / 1.276 GB, free: 3.754 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001442/0.766, allocations: 0.5894 MB / 1.277 GB, free: 3.16 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.766, allocations: 7.922 kB / 1.277 GB, free: 3.152 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.491e-05/0.766, allocations: 69.69 kB / 1.277 GB, free: 3.078 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.202e-05/0.766, allocations: 77.11 kB / 1.277 GB, free: 2.984 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.165e-06/0.766, allocations: 4.875 kB / 1.277 GB, free: 2.98 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.395e-05/0.766, allocations: 1.312 kB / 1.277 GB, free: 2.98 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.332e-05/0.7661, allocations: 5.812 kB / 1.277 GB, free: 2.977 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.964e-06/0.7661, allocations: 0.8438 kB / 1.277 GB, free: 2.977 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 1.375e-05/0.7661, allocations: 81.16 kB / 1.277 GB, free: 2.898 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8.1e-08/0.7661, allocations: 4.781 kB / 1.277 GB, free: 2.895 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0001739/0.7662, allocations: 10.69 kB / 1.277 GB, free: 2.891 MB / 0.9981 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): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002104/0.7665, allocations: 0.6133 MB / 1.278 GB, free: 2.285 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001428/0.7666, allocations: 20.91 kB / 1.278 GB, free: 2.281 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.7666, allocations: 0 / 1.278 GB, free: 2.281 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 7.953e-05/0.7667, allocations: 16.66 kB / 1.278 GB, free: 2.277 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001197/0.7668, allocations: 11.91 kB / 1.278 GB, free: 2.27 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003021/0.7671, allocations: 137.6 kB / 1.278 GB, free: 2.121 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001885/0.7673, allocations: 0.6738 MB / 1.279 GB, free: 17.43 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 1.197e-05/0.7673, allocations: 0 / 1.279 GB, free: 17.43 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.897e-05/0.7673, allocations: 13.62 kB / 1.279 GB, free: 17.41 MB / 1.014 GB Notification: Performance of SimCode: time 2.71e-07/0.7673, allocations: 4.062 kB / 1.279 GB, free: 17.41 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02287/0.7902, allocations: 1.33 MB / 1.28 GB, free: 17.02 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.12/10.91, allocations: 4.672 kB / 1.28 GB, free: 17.02 MB / 1.014 GB " [Timeout remaining time 289] (rm -f Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; mkfifo Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe >> ../files/Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp.fmu > Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.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: 16.145620355000574]