Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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.Movers.BaseClasses.Validation.FlowMachineInterface,fileNamePrefix="Buildings_latest_Buildings_Fluid_Movers_BaseClasses_Validation_FlowMachineInterface",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface,fileNamePrefix="Buildings_latest_Buildings_Fluid_Movers_BaseClasses_Validation_FlowMachineInterface",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.0009327/0.0009328, allocations: 91.06 kB / 15.36 MB, free: 0.7383 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.006678/0.006678, allocations: 172.1 kB / 16.26 MB, free: 6.613 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.441/1.441, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.638/2.638, allocations: 462.7 MB / 0.7364 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003284/0.0003285, allocations: 11.56 kB / 0.9029 GB, free: 36.46 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.277/0.2773, allocations: 159.6 MB / 1.059 GB, free: 4.855 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface): time 0.002668/0.28, allocations: 2.009 MB / 1.061 GB, free: 2.828 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.006131/0.2862, allocations: 3.823 MB / 1.064 GB, free: 14.99 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003114/0.2865, allocations: 4 kB / 1.064 GB, free: 14.98 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.005521/0.2921, allocations: 2.98 MB / 1.067 GB, free: 12 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0008994/0.293, allocations: 354.8 kB / 1.068 GB, free: 11.65 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001061/0.2941, allocations: 454.5 kB / 1.068 GB, free: 11.21 MB / 0.8262 GB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1080:9-1080:67:writable] Error: Internal error NFCeval.evalBinaryMul failed to evaluate ‘{0.0, 1.0}[pressure.n] * 0.0‘ Notification: Performance of NFFlatten.flatten: time 0.004532/0.2986, allocations: 3.381 MB / 1.071 GB, free: 7.824 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000139/0.2987, allocations: 44.61 kB / 1.072 GB, free: 7.785 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003605/0.2991, allocations: 179.3 kB / 1.072 GB, free: 7.609 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003616/0.2995, allocations: 227.1 kB / 1.072 GB, free: 7.387 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 4.753e-05/0.2995, allocations: 12 kB / 1.072 GB, free: 7.375 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001224/0.3008, allocations: 0.772 MB / 1.073 GB, free: 6.602 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0002197/0.301, allocations: 203.4 kB / 1.073 GB, free: 6.402 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0002925/0.3013, allocations: 260.2 kB / 1.073 GB, free: 6.141 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.001371/0.3027, allocations: 1.036 MB / 1.074 GB, free: 5.102 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.3027, allocations: 0 / 1.074 GB, free: 5.102 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.613e-06/0.3027, allocations: 0 / 1.074 GB, free: 5.102 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.682e-05/0.3027, allocations: 0 / 1.074 GB, free: 5.102 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.001527/0.3043, allocations: 0.8479 MB / 1.075 GB, free: 4.203 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.352e-05/0.3043, allocations: 8.031 kB / 1.075 GB, free: 4.195 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.377e-05/0.3044, allocations: 38.75 kB / 1.075 GB, free: 4.148 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001343/0.3057, allocations: 220 kB / 1.075 GB, free: 3.934 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006136/0.3119, allocations: 3.565 MB / 1.079 GB, free: 332 kB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.459e-05/0.312, allocations: 15.94 kB / 1.079 GB, free: 316 kB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.525e-05/0.312, allocations: 8 kB / 1.079 GB, free: 308 kB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005928/0.3126, allocations: 268.4 kB / 1.079 GB, free: 36 kB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.484e-06/0.3126, allocations: 0 / 1.079 GB, free: 36 kB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.371e-05/0.3127, allocations: 4 kB / 1.079 GB, free: 32 kB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/0.3127, allocations: 0 / 1.079 GB, free: 32 kB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007251/0.3134, allocations: 259.8 kB / 1.079 GB, free: 15.78 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001494/0.3149, allocations: 0.8318 MB / 1.08 GB, free: 14.89 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000775/0.3157, allocations: 318.4 kB / 1.08 GB, free: 14.57 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003615/0.3161, allocations: 128.8 kB / 1.08 GB, free: 14.45 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.467e-05/0.3161, allocations: 0 / 1.08 GB, free: 14.45 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.207e-05/0.3161, allocations: 34.56 kB / 1.08 GB, free: 14.4 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=10): time 9.62e-07/0.3161, allocations: 0 / 1.08 GB, free: 14.4 MB / 0.8419 GB Notification: Performance of matching and sorting (n=10): time 0.001264/0.3174, allocations: 464.7 kB / 1.081 GB, free: 13.94 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.538e-05/0.3175, allocations: 51.41 kB / 1.081 GB, free: 13.88 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008921/0.3184, allocations: 0.7538 MB / 1.082 GB, free: 13.11 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.782e-05/0.3184, allocations: 25.7 kB / 1.082 GB, free: 13.08 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001979/0.3186, allocations: 248.6 kB / 1.082 GB, free: 12.84 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 4.323e-05/0.3187, allocations: 31.55 kB / 1.082 GB, free: 12.8 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001066/0.3188, allocations: 97.66 kB / 1.082 GB, free: 12.7 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001617/0.3189, allocations: 366.8 kB / 1.082 GB, free: 12.34 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007334/0.3197, allocations: 441.2 kB / 1.083 GB, free: 11.9 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007725/0.3205, allocations: 0.5394 MB / 1.083 GB, free: 11.33 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00134/0.3218, allocations: 0.8781 MB / 1.084 GB, free: 10.42 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.691e-06/0.3218, allocations: 7.875 kB / 1.084 GB, free: 10.41 MB / 0.8419 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001744/0.3236, allocations: 1.076 MB / 1.085 GB, free: 9.332 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001071/0.3237, allocations: 144.2 kB / 1.085 GB, free: 9.164 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.077e-05/0.3237, allocations: 7.938 kB / 1.085 GB, free: 9.156 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.618e-05/0.3237, allocations: 8 kB / 1.085 GB, free: 9.148 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000485/0.3242, allocations: 115.8 kB / 1.086 GB, free: 9.035 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.14e-05/0.3243, allocations: 4 kB / 1.086 GB, free: 9.031 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004486/0.3247, allocations: 75.41 kB / 1.086 GB, free: 8.957 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.983e-05/0.3248, allocations: 35.98 kB / 1.086 GB, free: 8.922 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.007e-05/0.3248, allocations: 7.938 kB / 1.086 GB, free: 8.914 MB / 0.8419 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001448/0.3262, allocations: 0.8553 MB / 1.087 GB, free: 8.059 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.3263, allocations: 0 / 1.087 GB, free: 8.059 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.981e-06/0.3263, allocations: 4 kB / 1.087 GB, free: 8.055 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004286/0.3267, allocations: 111.9 kB / 1.087 GB, free: 7.945 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.577e-06/0.3267, allocations: 19.86 kB / 1.087 GB, free: 7.926 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003703/0.3271, allocations: 63.5 kB / 1.087 GB, free: 7.863 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.404e-05/0.3272, allocations: 27.97 kB / 1.087 GB, free: 7.836 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (52): * Single equations (assignments): 50 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * 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.0003045/0.3275, allocations: 312.9 kB / 1.087 GB, free: 7.52 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.965e-05/0.3276, allocations: 63.19 kB / 1.087 GB, free: 7.457 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001004/0.3286, allocations: 354.8 kB / 1.087 GB, free: 7.102 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.204e-06/0.3286, allocations: 8 kB / 1.087 GB, free: 7.094 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.3286, allocations: 3.938 kB / 1.087 GB, free: 7.09 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.417e-06/0.3286, allocations: 0 / 1.087 GB, free: 7.09 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004831/0.3291, allocations: 409.4 kB / 1.088 GB, free: 6.641 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.05e-06/0.3291, allocations: 7.938 kB / 1.088 GB, free: 6.633 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002594/0.3294, allocations: 43.95 kB / 1.088 GB, free: 6.59 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.885e-06/0.3294, allocations: 0 / 1.088 GB, free: 6.59 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.627e-05/0.3294, allocations: 8 kB / 1.088 GB, free: 6.582 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.446e-06/0.3294, allocations: 4 kB / 1.088 GB, free: 6.578 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.3294, allocations: 3.984 kB / 1.088 GB, free: 6.574 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008403/0.3303, allocations: 434.6 kB / 1.088 GB, free: 6.133 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001602/0.3304, allocations: 156.2 kB / 1.088 GB, free: 5.961 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.95e-05/0.3305, allocations: 0 / 1.088 GB, free: 5.961 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002972/0.3308, allocations: 27.97 kB / 1.088 GB, free: 5.934 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.788e-05/0.3309, allocations: 11.92 kB / 1.088 GB, free: 5.922 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.165e-05/0.3309, allocations: 12 kB / 1.089 GB, free: 5.91 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.000594/0.3315, allocations: 0.5107 MB / 1.089 GB, free: 5.406 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3315, allocations: 0 / 1.089 GB, free: 5.406 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0009043/0.3324, allocations: 311.9 kB / 1.089 GB, free: 5.102 MB / 0.8419 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 (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.001888/0.3343, allocations: 1.243 MB / 1.091 GB, free: 3.828 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.002026/0.3363, allocations: 1.165 MB / 1.092 GB, free: 2.66 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.828e-06/0.3364, allocations: 0 / 1.092 GB, free: 2.66 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0003762/0.3367, allocations: 140.3 kB / 1.092 GB, free: 2.523 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008533/0.3376, allocations: 179.5 kB / 1.092 GB, free: 2.348 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009403/0.347, allocations: 6.219 MB / 1.098 GB, free: 12.01 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005272/0.3476, allocations: 0.8898 MB / 1.099 GB, free: 11.09 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0007029/0.3483, allocations: 200.2 kB / 1.099 GB, free: 10.89 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003314/0.3486, allocations: 187.4 kB / 1.099 GB, free: 10.71 MB / 0.8575 GB Notification: Performance of SimCode: time 9.92e-07/0.3486, allocations: 4 kB / 1.099 GB, free: 10.71 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0333/0.3819, allocations: 16.76 MB / 1.116 GB, free: 10.25 MB / 0.8731 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001746/0.3821, allocations: 229.3 kB / 1.116 GB, free: 9.992 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.248/2.631, allocations: 2.875 kB / 1.116 GB, free: 9.992 MB / 0.8731 GB (rm -f Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe >> ../files/Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Movers_BaseClasses_Validation_FlowMachineInterface_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Movers_BaseClasses_Validation_FlowMachineInterface.fmu > Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Movers_BaseClasses_Validation_FlowMachineInterface.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches