Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,fileNamePrefix="Buildings_9_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007315/0.007315, allocations: 103.2 kB / 15.73 MB, free: 6.059 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001708/0.001708, allocations: 190.5 kB / 16.67 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.306/1.306, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.13/2.13, allocations: 390.3 MB / 0.6648 GB, free: 0.5898 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001189/0.001189, allocations: 67.89 kB / 0.9504 GB, free: 8.117 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6801/0.6813, allocations: 140.4 MB / 1.087 GB, free: 5.242 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.001964/0.6833, allocations: 1.255 MB / 1.089 GB, free: 4.367 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0007884/0.6841, allocations: 0.5856 MB / 1.089 GB, free: 3.961 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.305e-05/0.6842, allocations: 1.062 kB / 1.089 GB, free: 3.961 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 1.726e-05/0.6842, allocations: 0.6094 kB / 1.089 GB, free: 3.961 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 3.644e-05/0.6843, allocations: 4.453 kB / 1.089 GB, free: 3.957 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004554/0.6847, allocations: 142.9 kB / 1.089 GB, free: 3.891 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 4.663e-05/0.6848, allocations: 9.797 kB / 1.089 GB, free: 3.887 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.192e-05/0.6848, allocations: 10.48 kB / 1.089 GB, free: 3.879 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 1.716e-05/0.6848, allocations: 6.766 kB / 1.089 GB, free: 3.875 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 4.177e-05/0.6849, allocations: 3.484 kB / 1.089 GB, free: 3.875 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 9.177e-06/0.6849, allocations: 0.9688 kB / 1.089 GB, free: 3.875 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005057/0.6854, allocations: 344.3 kB / 1.09 GB, free: 3.773 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 8.386e-06/0.6854, allocations: 1 kB / 1.09 GB, free: 3.773 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 1.8e-05/0.6855, allocations: 6.766 kB / 1.09 GB, free: 3.77 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.000245/0.6857, allocations: 141.5 kB / 1.09 GB, free: 3.727 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.6857, allocations: 0 / 1.09 GB, free: 3.727 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.323e-06/0.6857, allocations: 0 / 1.09 GB, free: 3.727 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.438e-06/0.6857, allocations: 0.9375 kB / 1.09 GB, free: 3.727 MB / 0.8575 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.0002804/0.686, allocations: 353 kB / 1.09 GB, free: 3.348 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.531e-05/0.6861, allocations: 9.719 kB / 1.09 GB, free: 3.348 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.237e-05/0.6861, allocations: 31.41 kB / 1.09 GB, free: 3.309 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.133e-05/0.6861, allocations: 2.219 kB / 1.09 GB, free: 3.309 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.815e-05/0.6862, allocations: 161.6 kB / 1.09 GB, free: 3.113 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.23e-05/0.6862, allocations: 6.062 kB / 1.09 GB, free: 3.109 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.075e-06/0.6862, allocations: 1.438 kB / 1.09 GB, free: 3.109 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.278e-05/0.6863, allocations: 35.7 kB / 1.09 GB, free: 3.074 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.953e-06/0.6863, allocations: 7.938 kB / 1.09 GB, free: 3.066 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.823e-06/0.6863, allocations: 0 / 1.09 GB, free: 3.066 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.558e-06/0.6863, allocations: 1.281 kB / 1.09 GB, free: 3.066 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.514e-05/0.6863, allocations: 6.484 kB / 1.09 GB, free: 3.062 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001008/0.6864, allocations: 147.1 kB / 1.091 GB, free: 2.875 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 4.392e-05/0.6865, allocations: 25.52 kB / 1.091 GB, free: 2.848 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.7e-05/0.6865, allocations: 11.39 kB / 1.091 GB, free: 2.836 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.809e-05/0.6865, allocations: 9.078 kB / 1.091 GB, free: 2.828 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.362e-05/0.6866, allocations: 32.41 kB / 1.091 GB, free: 2.789 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 9.62e-07/0.6866, allocations: 0 / 1.091 GB, free: 2.789 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0001209/0.6867, allocations: 48.62 kB / 1.091 GB, free: 2.746 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.227e-05/0.6867, allocations: 53.3 kB / 1.091 GB, free: 2.684 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.201e-05/0.6868, allocations: 92.69 kB / 1.091 GB, free: 2.586 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 6.553e-06/0.6868, allocations: 27.62 kB / 1.091 GB, free: 2.555 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 1.125e-05/0.6868, allocations: 88.39 kB / 1.091 GB, free: 2.465 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.979e-05/0.6868, allocations: 9.516 kB / 1.091 GB, free: 2.457 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.328e-05/0.6868, allocations: 13.09 kB / 1.091 GB, free: 2.441 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 3.444e-05/0.6869, allocations: 313.2 kB / 1.091 GB, free: 2.129 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.189e-05/0.6869, allocations: 9.125 kB / 1.091 GB, free: 2.121 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.907e-06/0.6869, allocations: 2.406 kB / 1.091 GB, free: 2.121 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.495e-05/0.6869, allocations: 14.59 kB / 1.091 GB, free: 2.109 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.687, allocations: 5.188 kB / 1.091 GB, free: 2.105 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.21e-05/0.687, allocations: 40.02 kB / 1.091 GB, free: 2.07 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.212e-05/0.687, allocations: 9 kB / 1.091 GB, free: 2.066 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.668e-06/0.687, allocations: 0.75 kB / 1.091 GB, free: 2.066 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.057e-05/0.6871, allocations: 4.531 kB / 1.091 GB, free: 2.062 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001371/0.6872, allocations: 9.859 kB / 1.091 GB, free: 2.062 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002098/0.6874, allocations: 0.5836 MB / 1.092 GB, free: 1.473 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.749e-05/0.6874, allocations: 4.734 kB / 1.092 GB, free: 1.469 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.33e-06/0.6874, allocations: 1.469 kB / 1.092 GB, free: 1.469 MB / 0.8575 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 4.193e-05/0.6875, allocations: 111.5 kB / 1.092 GB, free: 1.352 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.576e-06/0.6875, allocations: 6.125 kB / 1.092 GB, free: 1.348 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.554e-05/0.6876, allocations: 43.92 kB / 1.092 GB, free: 1.309 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.6876, allocations: 0 / 1.092 GB, free: 1.309 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.6876, allocations: 6.266 kB / 1.092 GB, free: 1.305 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.094e-06/0.6876, allocations: 0 / 1.092 GB, free: 1.305 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.033e-05/0.6877, allocations: 154.7 kB / 1.092 GB, free: 1.109 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.6877, allocations: 0 / 1.092 GB, free: 1.109 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.726e-05/0.6878, allocations: 11.06 kB / 1.092 GB, free: 1.109 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.6878, allocations: 0 / 1.092 GB, free: 1.109 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.493e-06/0.6878, allocations: 4.797 kB / 1.092 GB, free: 1.105 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002434/0.688, allocations: 0.5829 MB / 1.093 GB, free: 16.52 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.688, allocations: 5.234 kB / 1.093 GB, free: 16.51 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.121e-05/0.6881, allocations: 69.11 kB / 1.093 GB, free: 16.44 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 3.146e-05/0.6881, allocations: 78 kB / 1.093 GB, free: 16.34 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.2e-05/0.6882, allocations: 10.3 kB / 1.093 GB, free: 16.34 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.426e-05/0.6882, allocations: 0 / 1.093 GB, free: 16.34 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.17e-05/0.6882, allocations: 6.078 kB / 1.093 GB, free: 16.33 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.695e-06/0.6882, allocations: 0.7188 kB / 1.093 GB, free: 16.33 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 3.398e-05/0.6882, allocations: 81.94 kB / 1.093 GB, free: 16.25 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6883, allocations: 0 / 1.093 GB, free: 16.25 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0001935/0.6884, allocations: 11.59 kB / 1.093 GB, free: 16.25 MB / 0.8731 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.000361/0.6888, allocations: 0.6033 MB / 1.094 GB, free: 15.66 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0001569/0.689, allocations: 28.44 kB / 1.094 GB, free: 15.64 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.689, allocations: 0.6875 kB / 1.094 GB, free: 15.64 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 8.956e-05/0.6891, allocations: 13.47 kB / 1.094 GB, free: 15.64 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001362/0.6892, allocations: 7.172 kB / 1.094 GB, free: 15.64 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003555/0.6896, allocations: 143.8 kB / 1.094 GB, free: 15.48 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002091/0.6898, allocations: 0.6733 MB / 1.095 GB, free: 14.79 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 1.398e-05/0.6898, allocations: 5.906 kB / 1.095 GB, free: 14.79 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.777e-05/0.6899, allocations: 8.562 kB / 1.095 GB, free: 14.78 MB / 0.8731 GB Notification: Performance of SimCode: time 2.4e-07/0.6899, allocations: 0 / 1.095 GB, free: 14.78 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.274/1.964, allocations: 1.372 MB / 1.096 GB, free: 14.41 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.36/19.33, allocations: 5.531 kB / 1.096 GB, free: 14.41 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; mkfifo Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe >> ../files/Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp.fmu > Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches