Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.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.001157/0.001157, allocations: 109 kB / 17.54 MB, free: 4.746 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.001173/0.001173, allocations: 185.9 kB / 20.71 MB, free: 1.586 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.282/1.282, allocations: 225.6 MB / 249.3 MB, free: 3.164 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.482/2.482, allocations: 476.7 MB / 0.7628 GB, free: 15.19 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.InverseFlowFunctions,fileNamePrefix="Buildings_11_Buildings_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,fileNamePrefix="Buildings_11_Buildings_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001934/0.001934, allocations: 75.86 kB / 1.107 GB, free: 5.195 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7585/0.7604, allocations: 168.7 MB / 1.271 GB, free: 7.277 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.001825/0.7623, allocations: 1.312 MB / 1.273 GB, free: 6.691 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0007574/0.763, allocations: 0.6007 MB / 1.273 GB, free: 6.277 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.265e-05/0.7631, allocations: 4.688 kB / 1.273 GB, free: 6.273 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 1.39e-05/0.7631, allocations: 0.5625 kB / 1.273 GB, free: 6.273 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 3.927e-05/0.7631, allocations: 5.766 kB / 1.273 GB, free: 6.27 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000429/0.7635, allocations: 145.1 kB / 1.273 GB, free: 6.203 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 4.861e-05/0.7636, allocations: 20.16 kB / 1.273 GB, free: 6.195 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.65e-05/0.7636, allocations: 2.297 kB / 1.273 GB, free: 6.195 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.908e-05/0.7636, allocations: 9.406 kB / 1.273 GB, free: 6.191 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.768e-05/0.7637, allocations: 10.14 kB / 1.273 GB, free: 6.188 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 9.769e-06/0.7637, allocations: 4.812 kB / 1.273 GB, free: 6.184 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004823/0.7642, allocations: 347.2 kB / 1.274 GB, free: 6.082 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 9.177e-06/0.7642, allocations: 1.031 kB / 1.274 GB, free: 6.082 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 1.949e-05/0.7642, allocations: 8.719 kB / 1.274 GB, free: 6.078 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002263/0.7644, allocations: 151.5 kB / 1.274 GB, free: 6.027 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.7644, allocations: 0.9688 kB / 1.274 GB, free: 6.027 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.483e-06/0.7644, allocations: 0 / 1.274 GB, free: 6.027 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.158e-06/0.7644, allocations: 0 / 1.274 GB, free: 6.027 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0002943/0.7647, allocations: 358.9 kB / 1.274 GB, free: 5.648 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.096e-05/0.7648, allocations: 8.906 kB / 1.274 GB, free: 5.648 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.905e-05/0.7648, allocations: 39.53 kB / 1.274 GB, free: 5.602 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.965e-05/0.7648, allocations: 2.812 kB / 1.274 GB, free: 5.602 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.648e-05/0.7649, allocations: 170.4 kB / 1.274 GB, free: 5.398 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.538e-06/0.7649, allocations: 1.469 kB / 1.274 GB, free: 5.398 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.022e-05/0.7649, allocations: 2.25 kB / 1.274 GB, free: 5.398 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.302e-05/0.765, allocations: 44.55 kB / 1.275 GB, free: 5.359 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.153e-06/0.765, allocations: 8.688 kB / 1.275 GB, free: 5.352 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.034e-06/0.765, allocations: 0 / 1.275 GB, free: 5.352 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.567e-06/0.765, allocations: 0.7188 kB / 1.275 GB, free: 5.352 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.155e-05/0.765, allocations: 23.08 kB / 1.275 GB, free: 5.344 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002068/0.7652, allocations: 251 kB / 1.275 GB, free: 5.066 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001673/0.7654, allocations: 44.48 kB / 1.275 GB, free: 5.035 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.714e-05/0.7654, allocations: 18.66 kB / 1.275 GB, free: 5.023 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.517e-05/0.7654, allocations: 1.406 kB / 1.275 GB, free: 5.023 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.077e-05/0.7655, allocations: 39.44 kB / 1.275 GB, free: 4.977 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=4): time 9.42e-07/0.7655, allocations: 0 / 1.275 GB, free: 4.977 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4): time 0.0001375/0.7656, allocations: 59.28 kB / 1.275 GB, free: 4.934 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.591e-05/0.7656, allocations: 52.31 kB / 1.275 GB, free: 4.871 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.814e-05/0.7656, allocations: 99.77 kB / 1.275 GB, free: 4.77 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 5.189e-06/0.7657, allocations: 25.7 kB / 1.275 GB, free: 4.738 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 2e-05/0.7657, allocations: 89.58 kB / 1.275 GB, free: 4.648 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 8.275e-06/0.7657, allocations: 12.33 kB / 1.275 GB, free: 4.641 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.553e-05/0.7657, allocations: 21.59 kB / 1.275 GB, free: 4.617 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.024e-05/0.7657, allocations: 319.8 kB / 1.276 GB, free: 4.301 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.679e-05/0.7658, allocations: 3.906 kB / 1.276 GB, free: 4.301 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.317e-05/0.7658, allocations: 25.17 kB / 1.276 GB, free: 4.277 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.005e-05/0.7658, allocations: 26.11 kB / 1.276 GB, free: 4.258 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.532e-06/0.7658, allocations: 3.938 kB / 1.276 GB, free: 4.254 MB / 0.9981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 7.448e-05/0.7659, allocations: 66.62 kB / 1.276 GB, free: 4.207 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.121e-05/0.7659, allocations: 5.062 kB / 1.276 GB, free: 4.207 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.727e-06/0.7659, allocations: 1 kB / 1.276 GB, free: 4.207 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.066e-05/0.7659, allocations: 1.094 kB / 1.276 GB, free: 4.207 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.283e-05/0.766, allocations: 6.406 kB / 1.276 GB, free: 4.207 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.478e-06/0.766, allocations: 1.062 kB / 1.276 GB, free: 4.207 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.163e-05/0.766, allocations: 1 kB / 1.276 GB, free: 4.207 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.879e-06/0.766, allocations: 2.062 kB / 1.276 GB, free: 4.207 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (5): * Single equations (assignments): 5 * 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 prepare postOptimizeDAE: time 3.387e-05/0.766, allocations: 120.2 kB / 1.276 GB, free: 4.082 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.285e-05/0.766, allocations: 11.62 kB / 1.276 GB, free: 4.074 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001066/0.7662, allocations: 60.61 kB / 1.276 GB, free: 4.023 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.7662, allocations: 0.6562 kB / 1.276 GB, free: 4.023 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.985e-06/0.7662, allocations: 1.031 kB / 1.276 GB, free: 4.023 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/0.7662, allocations: 4.547 kB / 1.276 GB, free: 4.02 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.31e-05/0.7663, allocations: 159.2 kB / 1.276 GB, free: 3.824 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.11e-07/0.7663, allocations: 0 / 1.276 GB, free: 3.824 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.413e-05/0.7663, allocations: 8.219 kB / 1.276 GB, free: 3.824 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.7663, allocations: 4.844 kB / 1.276 GB, free: 3.82 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.76e-06/0.7663, allocations: 0.6562 kB / 1.276 GB, free: 3.82 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.7663, allocations: 4.812 kB / 1.276 GB, free: 3.816 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.7663, allocations: 0 / 1.276 GB, free: 3.816 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.37e-05/0.7664, allocations: 151.3 kB / 1.276 GB, free: 3.672 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.254e-05/0.7664, allocations: 78.11 kB / 1.276 GB, free: 3.578 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.009e-05/0.7664, allocations: 1.719 kB / 1.276 GB, free: 3.578 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.658e-05/0.7664, allocations: 5.062 kB / 1.276 GB, free: 3.574 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.513e-05/0.7665, allocations: 3.031 kB / 1.276 GB, free: 3.574 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.916e-06/0.7665, allocations: 5 kB / 1.276 GB, free: 3.57 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 1.647e-05/0.7665, allocations: 79.78 kB / 1.276 GB, free: 3.496 MB / 0.9981 GB Notification: Performance of sort global known variables: time 6e-08/0.7665, allocations: 0 / 1.276 GB, free: 3.496 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002201/0.7667, allocations: 17.97 kB / 1.276 GB, free: 3.492 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 (4): * Single equations (assignments): 4 * 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.0002614/0.767, allocations: 0.7178 MB / 1.277 GB, free: 2.797 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 8.467e-05/0.767, allocations: 29.31 kB / 1.277 GB, free: 2.785 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.767, allocations: 4.531 kB / 1.277 GB, free: 2.781 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 1.835e-05/0.7671, allocations: 10.45 kB / 1.277 GB, free: 2.781 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001862/0.7672, allocations: 6.156 kB / 1.277 GB, free: 2.777 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003381/0.7676, allocations: 160.1 kB / 1.277 GB, free: 2.617 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001888/0.7678, allocations: 0.6752 MB / 1.278 GB, free: 17.92 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 2.675e-05/0.7678, allocations: 7.609 kB / 1.278 GB, free: 17.92 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.323e-05/0.7678, allocations: 15.55 kB / 1.278 GB, free: 17.91 MB / 1.014 GB Notification: Performance of SimCode: time 2.81e-07/0.7678, allocations: 0 / 1.278 GB, free: 17.91 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02254/0.7904, allocations: 1.372 MB / 1.279 GB, free: 17.53 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.936/7.726, allocations: 4.484 kB / 1.279 GB, free: 17.53 MB / 1.014 GB " [Timeout remaining time 292] (rm -f Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; mkfifo Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe >> ../files/Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions.fmu > Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.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: 12.945953083999484]