Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.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.001348/0.001348, allocations: 107.2 kB / 16.45 MB, free: 6.508 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.001323/0.001323, allocations: 196.6 kB / 19.41 MB, free: 3.676 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.428/1.428, allocations: 225.6 MB / 247.8 MB, free: 13.96 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.588/2.588, allocations: 443.5 MB / 0.7287 GB, free: 13.29 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_m_flow,fileNamePrefix="Buildings_10_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,fileNamePrefix="Buildings_10_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002229/0.002229, allocations: 71.89 kB / 1.056 GB, free: 5.875 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9112/0.9135, allocations: 160.7 MB / 1.213 GB, free: 3.855 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.002742/0.9162, allocations: 1.26 MB / 1.214 GB, free: 2.867 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001168/0.9174, allocations: 0.5973 MB / 1.215 GB, free: 2.391 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.081e-05/0.9174, allocations: 0 / 1.215 GB, free: 2.391 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 1.708e-05/0.9174, allocations: 1.156 kB / 1.215 GB, free: 2.391 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 4.361e-05/0.9175, allocations: 0 / 1.215 GB, free: 2.391 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005448/0.918, allocations: 139 kB / 1.215 GB, free: 2.297 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 5.83e-05/0.9181, allocations: 8.938 kB / 1.215 GB, free: 2.293 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 4.576e-05/0.9181, allocations: 5.109 kB / 1.215 GB, free: 2.289 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 2.216e-05/0.9181, allocations: 7.109 kB / 1.215 GB, free: 2.285 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 4.743e-05/0.9182, allocations: 2.156 kB / 1.215 GB, free: 2.285 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.108e-05/0.9182, allocations: 3.938 kB / 1.215 GB, free: 2.281 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005656/0.9188, allocations: 340.8 kB / 1.215 GB, free: 2.086 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.73e-05/0.9188, allocations: 9.047 kB / 1.215 GB, free: 2.078 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 2.287e-05/0.9188, allocations: 2.281 kB / 1.215 GB, free: 2.078 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002804/0.9191, allocations: 152.4 kB / 1.215 GB, free: 1.988 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.9191, allocations: 0 / 1.215 GB, free: 1.988 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.573e-06/0.9191, allocations: 1.25 kB / 1.215 GB, free: 1.988 MB / 0.92 GB Notification: Performance of Transformations before backend: time 8.646e-06/0.9191, allocations: 0 / 1.215 GB, free: 1.988 MB / 0.92 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.000477/0.9196, allocations: 347.4 kB / 1.216 GB, free: 1.609 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.431e-05/0.9196, allocations: 9.375 kB / 1.216 GB, free: 1.609 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.927e-05/0.9196, allocations: 35.61 kB / 1.216 GB, free: 1.566 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.662e-05/0.9197, allocations: 6.031 kB / 1.216 GB, free: 1.562 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001485/0.9198, allocations: 165.4 kB / 1.216 GB, free: 1.363 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.243e-05/0.9198, allocations: 5.5 kB / 1.216 GB, free: 1.359 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.018e-05/0.9198, allocations: 384 / 1.216 GB, free: 1.359 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001133/0.92, allocations: 33.48 kB / 1.216 GB, free: 1.324 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.156e-05/0.92, allocations: 9 kB / 1.216 GB, free: 1.316 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.874e-06/0.92, allocations: 3.938 kB / 1.216 GB, free: 1.312 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.939e-06/0.92, allocations: 3.984 kB / 1.216 GB, free: 1.309 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.774e-05/0.92, allocations: 7.234 kB / 1.216 GB, free: 1.305 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000188/0.9202, allocations: 149.1 kB / 1.216 GB, free: 1.113 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 6.257e-05/0.9203, allocations: 27.55 kB / 1.216 GB, free: 1.082 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.35e-05/0.9203, allocations: 11.06 kB / 1.216 GB, free: 1.07 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.234e-05/0.9203, allocations: 0 / 1.216 GB, free: 1.07 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.005e-05/0.9203, allocations: 31.88 kB / 1.216 GB, free: 1.031 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 7.31e-07/0.9203, allocations: 3.938 kB / 1.216 GB, free: 1.027 MB / 0.92 GB Notification: Performance of matching and sorting (n=2): time 0.0001783/0.9205, allocations: 42.98 kB / 1.216 GB, free: 0.9883 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.719e-05/0.9206, allocations: 56.53 kB / 1.216 GB, free: 0.9219 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.414e-05/0.9207, allocations: 99.97 kB / 1.216 GB, free: 0.8164 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.845e-05/0.9207, allocations: 26.8 kB / 1.216 GB, free: 0.7852 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 5.861e-05/0.9207, allocations: 80.14 kB / 1.216 GB, free: 0.7031 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.923e-05/0.9208, allocations: 9.047 kB / 1.216 GB, free: 0.6953 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.133e-05/0.9208, allocations: 12.03 kB / 1.216 GB, free: 0.6797 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001683/0.921, allocations: 311.9 kB / 1.217 GB, free: 376 kB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.427e-05/0.921, allocations: 2.281 kB / 1.217 GB, free: 376 kB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.206e-05/0.921, allocations: 9.828 kB / 1.217 GB, free: 368 kB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.719e-05/0.921, allocations: 18.11 kB / 1.217 GB, free: 352 kB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.921, allocations: 0 / 1.217 GB, free: 352 kB / 0.92 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.382e-05/0.9211, allocations: 42.09 kB / 1.217 GB, free: 312 kB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.689e-05/0.9211, allocations: 9.406 kB / 1.217 GB, free: 308 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.091e-06/0.9211, allocations: 1.062 kB / 1.217 GB, free: 308 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.456e-05/0.9211, allocations: 0 / 1.217 GB, free: 308 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001835/0.9213, allocations: 12.3 kB / 1.217 GB, free: 304 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005501/0.9219, allocations: 0.5856 MB / 1.217 GB, free: 15.7 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.867e-05/0.9219, allocations: 1.094 kB / 1.217 GB, free: 15.7 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.224e-06/0.9219, allocations: 1.125 kB / 1.217 GB, free: 15.7 MB / 0.9356 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 9.238e-05/0.922, allocations: 112.3 kB / 1.218 GB, free: 15.58 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.905e-06/0.922, allocations: 1.188 kB / 1.218 GB, free: 15.58 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001274/0.9221, allocations: 48.88 kB / 1.218 GB, free: 15.53 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.993e-06/0.9221, allocations: 1.125 kB / 1.218 GB, free: 15.53 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.9221, allocations: 0 / 1.218 GB, free: 15.53 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.9221, allocations: 0 / 1.218 GB, free: 15.53 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001326/0.9223, allocations: 156.8 kB / 1.218 GB, free: 15.33 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.9223, allocations: 1.062 kB / 1.218 GB, free: 15.33 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.391e-05/0.9223, allocations: 11.17 kB / 1.218 GB, free: 15.33 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.9223, allocations: 0 / 1.218 GB, free: 15.33 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.893e-06/0.9223, allocations: 4.781 kB / 1.218 GB, free: 15.32 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004/0.9227, allocations: 0.5867 MB / 1.218 GB, free: 14.73 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.392e-06/0.9228, allocations: 5.031 kB / 1.218 GB, free: 14.72 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.142e-05/0.9228, allocations: 66.25 kB / 1.218 GB, free: 14.65 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 6.251e-05/0.9229, allocations: 77.11 kB / 1.218 GB, free: 14.55 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.151e-05/0.9229, allocations: 1.062 kB / 1.218 GB, free: 14.55 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.729e-05/0.9229, allocations: 5.25 kB / 1.218 GB, free: 14.55 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.466e-05/0.9229, allocations: 12.97 kB / 1.219 GB, free: 14.54 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.124e-06/0.9229, allocations: 3.938 kB / 1.219 GB, free: 14.54 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 4.829e-05/0.923, allocations: 81.47 kB / 1.219 GB, free: 14.46 MB / 0.9356 GB Notification: Performance of sort global known variables: time 9e-08/0.923, allocations: 0 / 1.219 GB, free: 14.46 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002201/0.9232, allocations: 15.52 kB / 1.219 GB, free: 14.45 MB / 0.9356 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.0005405/0.9238, allocations: 0.6109 MB / 1.219 GB, free: 13.84 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0001769/0.9239, allocations: 24.17 kB / 1.219 GB, free: 13.83 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.9239, allocations: 0 / 1.219 GB, free: 13.83 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 8.289e-05/0.924, allocations: 14.48 kB / 1.219 GB, free: 13.82 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001495/0.9242, allocations: 5.031 kB / 1.219 GB, free: 13.82 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005496/0.9247, allocations: 142.2 kB / 1.219 GB, free: 13.67 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003569/0.9251, allocations: 0.6721 MB / 1.22 GB, free: 12.97 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 2.093e-05/0.9251, allocations: 3.984 kB / 1.22 GB, free: 12.97 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.836e-05/0.9251, allocations: 8.5 kB / 1.22 GB, free: 12.96 MB / 0.9356 GB Notification: Performance of SimCode: time 2.91e-07/0.9251, allocations: 0 / 1.22 GB, free: 12.96 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02467/0.9498, allocations: 1.401 MB / 1.221 GB, free: 12.26 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.82/12.77, allocations: 4.656 kB / 1.221 GB, free: 12.26 MB / 0.9356 GB " [Timeout remaining time 287] (rm -f Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; mkfifo Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe >> ../files/Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow.fmu > Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.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: 18.65854359185323]