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.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.001698/0.001698, allocations: 106.2 kB / 16.4 MB, free: 6.488 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.002029/0.002029, allocations: 192.6 kB / 19.36 MB, free: 3.75 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.413/1.413, allocations: 222.9 MB / 245.1 MB, free: 15.01 MB / 206.1 MB " [Timeout remaining time 178] 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.717/2.717, allocations: 469.8 MB / 0.7491 GB, free: 3 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.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 0.002211/0.002211, allocations: 63.91 kB / 1.073 GB, free: 96 kB / 0.8731 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9102/0.9125, allocations: 159.1 MB / 1.229 GB, free: 4.797 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.003006/0.9155, allocations: 1.253 MB / 1.23 GB, free: 3.539 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.00118/0.9167, allocations: 0.5877 MB / 1.23 GB, free: 2.949 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.318e-05/0.9168, allocations: 0 / 1.23 GB, free: 2.949 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 1.846e-05/0.9168, allocations: 0 / 1.23 GB, free: 2.949 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 5.109e-05/0.9169, allocations: 3.984 kB / 1.23 GB, free: 2.945 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007365/0.9176, allocations: 138.5 kB / 1.231 GB, free: 2.812 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 6.838e-05/0.9177, allocations: 15.92 kB / 1.231 GB, free: 2.797 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 5.866e-05/0.9178, allocations: 11.94 kB / 1.231 GB, free: 2.785 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 2.303e-05/0.9178, allocations: 3.984 kB / 1.231 GB, free: 2.781 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 5.757e-05/0.9179, allocations: 7.938 kB / 1.231 GB, free: 2.773 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.208e-05/0.9179, allocations: 0 / 1.231 GB, free: 2.773 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000638/0.9185, allocations: 339.3 kB / 1.231 GB, free: 2.441 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.503e-05/0.9186, allocations: 7.984 kB / 1.231 GB, free: 2.434 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 2.835e-05/0.9186, allocations: 3.984 kB / 1.231 GB, free: 2.43 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0003515/0.919, allocations: 145.3 kB / 1.231 GB, free: 2.289 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.919, allocations: 0 / 1.231 GB, free: 2.289 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.553e-06/0.919, allocations: 0 / 1.231 GB, free: 2.289 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 7.554e-06/0.919, allocations: 0 / 1.231 GB, free: 2.289 MB / 0.9356 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.0005004/0.9195, allocations: 355.2 kB / 1.231 GB, free: 1.891 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.734e-05/0.9196, allocations: 12.03 kB / 1.231 GB, free: 1.879 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.161e-05/0.9196, allocations: 30.75 kB / 1.231 GB, free: 1.84 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.656e-05/0.9196, allocations: 0.9375 kB / 1.231 GB, free: 1.84 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001619/0.9198, allocations: 164.3 kB / 1.232 GB, free: 1.641 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.163e-05/0.9198, allocations: 384 / 1.232 GB, free: 1.641 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.407e-06/0.9198, allocations: 4.375 kB / 1.232 GB, free: 1.637 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001127/0.92, allocations: 38.19 kB / 1.232 GB, free: 1.594 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.909e-06/0.92, allocations: 11.94 kB / 1.232 GB, free: 1.582 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.042e-05/0.92, allocations: 3.984 kB / 1.232 GB, free: 1.578 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.92, allocations: 0 / 1.232 GB, free: 1.578 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.026e-05/0.92, allocations: 0 / 1.232 GB, free: 1.578 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002099/0.9203, allocations: 153.7 kB / 1.232 GB, free: 1.379 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 6.648e-05/0.9203, allocations: 22.61 kB / 1.232 GB, free: 1.348 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.235e-05/0.9204, allocations: 4.859 kB / 1.232 GB, free: 1.34 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.389e-05/0.9204, allocations: 8 kB / 1.232 GB, free: 1.332 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.51e-05/0.9204, allocations: 38.56 kB / 1.232 GB, free: 1.285 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=2): time 3.586e-06/0.9204, allocations: 0 / 1.232 GB, free: 1.285 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2): time 0.000178/0.9206, allocations: 49.52 kB / 1.232 GB, free: 1.23 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.936e-05/0.9207, allocations: 51.41 kB / 1.232 GB, free: 1.168 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001023/0.9208, allocations: 97.86 kB / 1.232 GB, free: 1.062 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.839e-05/0.9208, allocations: 25.7 kB / 1.232 GB, free: 1.031 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 4.142e-05/0.9209, allocations: 84.39 kB / 1.232 GB, free: 0.9453 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.819e-05/0.9209, allocations: 0 / 1.232 GB, free: 0.9453 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.184e-05/0.921, allocations: 21.7 kB / 1.232 GB, free: 0.918 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001514/0.9211, allocations: 310.8 kB / 1.233 GB, free: 0.6055 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.718e-05/0.9211, allocations: 4 kB / 1.233 GB, free: 0.6016 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.808e-06/0.9211, allocations: 0 / 1.233 GB, free: 0.6016 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.922e-05/0.9212, allocations: 20.8 kB / 1.233 GB, free: 0.5781 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.967e-06/0.9212, allocations: 4 kB / 1.233 GB, free: 0.5742 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.505e-05/0.9213, allocations: 49.64 kB / 1.233 GB, free: 0.5195 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.108e-05/0.9213, allocations: 9.969 kB / 1.233 GB, free: 0.5117 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.9213, allocations: 0 / 1.233 GB, free: 0.5117 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.445e-05/0.9213, allocations: 0 / 1.233 GB, free: 0.5117 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001748/0.9215, allocations: 8 kB / 1.233 GB, free: 0.5039 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004985/0.922, allocations: 0.586 MB / 1.233 GB, free: 15.89 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.392e-05/0.9221, allocations: 4.125 kB / 1.233 GB, free: 15.89 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.686e-06/0.9221, allocations: 8.031 kB / 1.233 GB, free: 15.88 MB / 0.9512 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 0.0001006/0.9222, allocations: 111.7 kB / 1.233 GB, free: 15.77 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.498e-06/0.9222, allocations: 0 / 1.233 GB, free: 15.77 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001279/0.9223, allocations: 44.81 kB / 1.233 GB, free: 15.71 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.916e-06/0.9224, allocations: 0 / 1.233 GB, free: 15.71 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.854e-06/0.9224, allocations: 4 kB / 1.233 GB, free: 15.71 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.9224, allocations: 0 / 1.233 GB, free: 15.71 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001427/0.9225, allocations: 153.7 kB / 1.233 GB, free: 15.51 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.779e-06/0.9225, allocations: 3.984 kB / 1.233 GB, free: 15.51 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.126e-05/0.9226, allocations: 8 kB / 1.233 GB, free: 15.5 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.49e-06/0.9226, allocations: 7.938 kB / 1.234 GB, free: 15.49 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.284e-06/0.9227, allocations: 0 / 1.234 GB, free: 15.49 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003972/0.9231, allocations: 0.5821 MB / 1.234 GB, free: 14.89 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.891e-06/0.9231, allocations: 7.922 kB / 1.234 GB, free: 14.88 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001043/0.9232, allocations: 61.27 kB / 1.234 GB, free: 14.8 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 5.642e-05/0.9232, allocations: 77.11 kB / 1.234 GB, free: 14.71 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.933e-05/0.9233, allocations: 4 kB / 1.234 GB, free: 14.7 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.424e-05/0.9233, allocations: 7.875 kB / 1.234 GB, free: 14.7 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.092e-05/0.9233, allocations: 7.922 kB / 1.234 GB, free: 14.69 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.915e-06/0.9233, allocations: 0 / 1.234 GB, free: 14.69 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 4.885e-05/0.9234, allocations: 79.28 kB / 1.234 GB, free: 14.61 MB / 0.9512 GB Notification: Performance of sort global known variables: time 3.61e-07/0.9234, allocations: 4.125 kB / 1.234 GB, free: 14.61 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002117/0.9236, allocations: 11.94 kB / 1.234 GB, free: 14.59 MB / 0.9512 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.00057/0.9242, allocations: 0.6124 MB / 1.235 GB, free: 13.95 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0001934/0.9244, allocations: 23.95 kB / 1.235 GB, free: 13.93 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.766e-06/0.9244, allocations: 0 / 1.235 GB, free: 13.93 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 8.907e-05/0.9245, allocations: 16 kB / 1.235 GB, free: 13.91 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001526/0.9247, allocations: 3.938 kB / 1.235 GB, free: 13.91 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005905/0.9253, allocations: 139.5 kB / 1.235 GB, free: 13.73 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003388/0.9256, allocations: 0.6806 MB / 1.236 GB, free: 13.02 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 1.962e-05/0.9256, allocations: 4.125 kB / 1.236 GB, free: 13.02 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.916e-05/0.9257, allocations: 7.438 kB / 1.236 GB, free: 13.01 MB / 0.9512 GB Notification: Performance of SimCode: time 2.6e-07/0.9257, allocations: 0 / 1.236 GB, free: 13.01 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02696/0.9526, allocations: 1.378 MB / 1.237 GB, free: 11.82 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.25/13.2, allocations: 6.359 kB / 1.237 GB, free: 11.82 MB / 0.9512 GB " [Timeout remaining time 287] (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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 19.21858007996343]