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.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.001157/0.001157, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.001326/0.001326, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.9155/0.9155, allocations: 177.1 MB / 202.8 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.676/1.676, allocations: 359 MB / 0.6037 GB, free: 11.1 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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.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 1.663e-06/1.663e-06, allocations: 0 / 0.9505 GB, free: 3.52 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.996e-05/2.162e-05, allocations: 6.219 kB / 0.9505 GB, free: 3.512 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.001744/0.001766, allocations: 1.279 MB / 0.9517 GB, free: 2.215 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0007113/0.002477, allocations: 0.5259 MB / 0.9523 GB, free: 1.688 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.344e-05/0.002501, allocations: 0 / 0.9523 GB, free: 1.688 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 1.739e-05/0.002518, allocations: 4 kB / 0.9523 GB, free: 1.684 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 4.022e-05/0.002558, allocations: 0 / 0.9523 GB, free: 1.684 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004178/0.002976, allocations: 143.2 kB / 0.9524 GB, free: 1.543 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 4.883e-05/0.003025, allocations: 7.938 kB / 0.9524 GB, free: 1.535 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 4.474e-05/0.00307, allocations: 4 kB / 0.9524 GB, free: 1.531 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 3.138e-05/0.003101, allocations: 3.984 kB / 0.9524 GB, free: 1.527 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 3.93e-05/0.00314, allocations: 4 kB / 0.9524 GB, free: 1.523 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.291e-05/0.003153, allocations: 0 / 0.9524 GB, free: 1.523 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002898/0.003443, allocations: 283.3 kB / 0.9527 GB, free: 1.246 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.499e-05/0.003458, allocations: 0 / 0.9527 GB, free: 1.246 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 1.912e-05/0.003477, allocations: 3.984 kB / 0.9527 GB, free: 1.242 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001916/0.003669, allocations: 147.6 kB / 0.9528 GB, free: 1.098 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.003673, allocations: 3.984 kB / 0.9528 GB, free: 1.094 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.452e-06/0.003675, allocations: 3.938 kB / 0.9528 GB, free: 1.09 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 5.079e-06/0.00368, allocations: 0 / 0.9528 GB, free: 1.09 MB / 0.9011 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.0003268/0.004006, allocations: 274 kB / 0.9531 GB, free: 0.7891 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.313e-05/0.00405, allocations: 12.03 kB / 0.9531 GB, free: 0.7773 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.773e-05/0.004077, allocations: 30.75 kB / 0.9531 GB, free: 0.7383 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.122e-05/0.004099, allocations: 4.938 kB / 0.9531 GB, free: 0.7344 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.329e-05/0.004182, allocations: 109.7 kB / 0.9532 GB, free: 0.6016 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.148e-05/0.004193, allocations: 4.375 kB / 0.9533 GB, free: 0.5977 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.795e-06/0.004201, allocations: 4.312 kB / 0.9533 GB, free: 0.5938 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.176e-05/0.004293, allocations: 34.25 kB / 0.9533 GB, free: 0.5547 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.133e-06/0.0043, allocations: 192 / 0.9533 GB, free: 0.5547 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.226e-06/0.004308, allocations: 384 / 0.9533 GB, free: 0.5547 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.004315, allocations: 4.125 kB / 0.9533 GB, free: 0.5508 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.651e-05/0.004341, allocations: 4 kB / 0.9533 GB, free: 0.5469 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001218/0.004463, allocations: 120.8 kB / 0.9534 GB, free: 396 kB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 4.653e-05/0.004509, allocations: 26.59 kB / 0.9534 GB, free: 360 kB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.929e-05/0.004529, allocations: 16.86 kB / 0.9535 GB, free: 340 kB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 2.057e-05/0.004549, allocations: 0 / 0.9535 GB, free: 340 kB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.92e-05/0.004568, allocations: 30.56 kB / 0.9535 GB, free: 300 kB / 0.9011 GB Notification: Performance of pre-optimization done (n=2): time 6.11e-07/0.004569, allocations: 3.938 kB / 0.9535 GB, free: 296 kB / 0.9011 GB Notification: Performance of matching and sorting (n=2): time 0.0001328/0.004702, allocations: 41.7 kB / 0.9535 GB, free: 248 kB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.904e-05/0.004731, allocations: 55.34 kB / 0.9536 GB, free: 180 kB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.26e-05/0.004784, allocations: 97.84 kB / 0.9537 GB, free: 72 kB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 9.698e-06/0.004793, allocations: 25.95 kB / 0.9537 GB, free: 40 kB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 3.634e-05/0.00483, allocations: 84.14 kB / 0.9538 GB, free: 15.95 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 2.225e-05/0.004852, allocations: 3.953 kB / 0.9538 GB, free: 15.95 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.58e-05/0.004878, allocations: 17.72 kB / 0.9538 GB, free: 15.93 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 7.085e-05/0.004948, allocations: 310.8 kB / 0.9541 GB, free: 15.61 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.512e-05/0.004964, allocations: 11.92 kB / 0.9541 GB, free: 15.6 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.023e-06/0.004971, allocations: 0 / 0.9541 GB, free: 15.6 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.774e-05/0.004998, allocations: 12.86 kB / 0.9541 GB, free: 15.59 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.005001, allocations: 4 kB / 0.9541 GB, free: 15.58 MB / 0.9167 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.586e-05/0.005047, allocations: 45.64 kB / 0.9542 GB, free: 15.53 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.255e-05/0.005059, allocations: 8.094 kB / 0.9542 GB, free: 15.52 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.027e-06/0.005068, allocations: 0 / 0.9542 GB, free: 15.52 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.243e-05/0.005081, allocations: 0 / 0.9542 GB, free: 15.52 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001379/0.005219, allocations: 15.92 kB / 0.9542 GB, free: 15.51 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004327/0.005651, allocations: 0.586 MB / 0.9548 GB, free: 14.9 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.744e-05/0.005669, allocations: 4.031 kB / 0.9548 GB, free: 14.89 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.372e-06/0.005675, allocations: 0 / 0.9548 GB, free: 14.89 MB / 0.9167 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 5.997e-05/0.005735, allocations: 105.8 kB / 0.9549 GB, free: 14.78 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.384e-06/0.005742, allocations: 11.92 kB / 0.9549 GB, free: 14.77 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.848e-05/0.005831, allocations: 49.05 kB / 0.9549 GB, free: 14.71 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.005834, allocations: 0 / 0.9549 GB, free: 14.71 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.005837, allocations: 0 / 0.9549 GB, free: 14.71 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.305e-06/0.00584, allocations: 0 / 0.9549 GB, free: 14.71 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.431e-05/0.005904, allocations: 124.8 kB / 0.955 GB, free: 14.55 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.005907, allocations: 7.875 kB / 0.9551 GB, free: 14.54 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.317e-05/0.00596, allocations: 11.98 kB / 0.9551 GB, free: 14.53 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.916e-06/0.005963, allocations: 0 / 0.9551 GB, free: 14.53 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.551e-06/0.005968, allocations: 0 / 0.9551 GB, free: 14.53 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002/0.006168, allocations: 0.5822 MB / 0.9556 GB, free: 13.93 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.00617, allocations: 4.031 kB / 0.9556 GB, free: 13.92 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.825e-05/0.006218, allocations: 72.95 kB / 0.9557 GB, free: 13.83 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 5.791e-06/0.006224, allocations: 0 / 0.9557 GB, free: 13.83 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.031e-05/0.006234, allocations: 7.938 kB / 0.9557 GB, free: 13.82 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.106e-06/0.006243, allocations: 0 / 0.9557 GB, free: 13.82 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.123e-05/0.006254, allocations: 0 / 0.9557 GB, free: 13.82 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.104e-06/0.006256, allocations: 0 / 0.9557 GB, free: 13.82 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 2.312e-05/0.006279, allocations: 79.28 kB / 0.9558 GB, free: 13.75 MB / 0.9167 GB Notification: Performance of sort global known variables: time 6e-08/0.006279, allocations: 224 / 0.9558 GB, free: 13.75 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001424/0.006422, allocations: 19.88 kB / 0.9558 GB, free: 13.73 MB / 0.9167 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.0002848/0.006706, allocations: 0.6046 MB / 0.9564 GB, free: 13.09 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001349/0.006841, allocations: 23.92 kB / 0.9564 GB, free: 13.07 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.006843, allocations: 0 / 0.9564 GB, free: 13.07 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 3.25e-05/0.006876, allocations: 15.98 kB / 0.9564 GB, free: 13.05 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001193/0.006995, allocations: 2.656 kB / 0.9564 GB, free: 13.05 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004052/0.0074, allocations: 134.6 kB / 0.9566 GB, free: 12.88 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.435e-05/0.007434, allocations: 59.34 kB / 0.9566 GB, free: 12.8 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 1.52e-05/0.00745, allocations: 4 kB / 0.9566 GB, free: 12.8 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.41e-05/0.007474, allocations: 8.5 kB / 0.9566 GB, free: 12.79 MB / 0.9167 GB Notification: Performance of SimCode: time 6.41e-07/0.007474, allocations: 0 / 0.9566 GB, free: 12.79 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01815/0.02562, allocations: 1.948 MB / 0.9585 GB, free: 11 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.727/7.752, allocations: 18.41 kB / 0.9586 GB, free: 10.99 MB / 0.9167 GB " [Timeout remaining time 292] (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 --stepSize=0.0004 --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/jenkins/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: 11.816132656298578]