Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.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.001694/0.001694, allocations: 110.4 kB / 18.94 MB, free: 2.949 MB / 14.72 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.00212/0.00212, allocations: 218.7 kB / 22.26 MB, free: 5.125 MB / 14.72 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 1.558/1.558, allocations: 230.6 MB / 256 MB, free: 7.988 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.92/2.92, allocations: 476.7 MB / 0.7707 GB, free: 4.277 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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.Controls.OBC.UnitConversions.Validation.From_psi,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_From_psi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_psi,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_From_psi",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002102/0.002102, allocations: 66.64 kB / 1.117 GB, free: 40.47 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3176/0.3197, allocations: 170 MB / 1.283 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_psi): time 0.002079/0.3218, allocations: 0.8352 MB / 1.284 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0001217/0.3219, allocations: 43.78 kB / 1.284 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.862e-05/0.322, allocations: 0 / 1.284 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 4.557e-05/0.322, allocations: 7.875 kB / 1.284 GB, free: 10.83 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.772e-05/0.3221, allocations: 7.875 kB / 1.284 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 5.601e-05/0.3222, allocations: 27.97 kB / 1.284 GB, free: 10.8 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001189/0.3223, allocations: 59.84 kB / 1.284 GB, free: 10.74 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001335/0.3224, allocations: 27.98 kB / 1.284 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 8.01e-05/0.3225, allocations: 35.78 kB / 1.284 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 6.945e-05/0.3226, allocations: 27.86 kB / 1.284 GB, free: 10.65 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.335e-05/0.3226, allocations: 4 kB / 1.284 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.097e-05/0.3226, allocations: 11.94 kB / 1.284 GB, free: 10.63 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.94e-05/0.3226, allocations: 7.984 kB / 1.284 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.477e-05/0.3227, allocations: 35.75 kB / 1.284 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001333/0.3228, allocations: 88.2 kB / 1.285 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.67e-06/0.3228, allocations: 4 kB / 1.285 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.954e-06/0.3228, allocations: 0 / 1.285 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.929e-06/0.3228, allocations: 0 / 1.285 GB, free: 10.5 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0004628/0.3233, allocations: 306.1 kB / 1.285 GB, free: 10.17 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.089e-05/0.3233, allocations: 8.031 kB / 1.285 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.542e-05/0.3233, allocations: 42.73 kB / 1.285 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.703e-05/0.3234, allocations: 8.891 kB / 1.285 GB, free: 10.1 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000204/0.3236, allocations: 130.4 kB / 1.285 GB, free: 9.949 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.266e-05/0.3236, allocations: 4.375 kB / 1.285 GB, free: 9.945 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.746e-05/0.3236, allocations: 12.38 kB / 1.285 GB, free: 9.934 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001794/0.3238, allocations: 97.98 kB / 1.285 GB, free: 9.828 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/0.3238, allocations: 3.938 kB / 1.285 GB, free: 9.824 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.395e-05/0.3238, allocations: 4 kB / 1.285 GB, free: 9.82 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/0.3238, allocations: 4 kB / 1.285 GB, free: 9.816 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.574e-05/0.3239, allocations: 39.86 kB / 1.285 GB, free: 9.777 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005812/0.3245, allocations: 403.8 kB / 1.286 GB, free: 9.336 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 7.741e-05/0.3246, allocations: 37.19 kB / 1.286 GB, free: 9.281 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.291e-05/0.3246, allocations: 21.84 kB / 1.286 GB, free: 9.254 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.053e-05/0.3246, allocations: 0 / 1.286 GB, free: 9.254 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.831e-05/0.3246, allocations: 34.56 kB / 1.286 GB, free: 9.211 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 4.359e-06/0.3246, allocations: 3.984 kB / 1.286 GB, free: 9.207 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0001884/0.3248, allocations: 57.52 kB / 1.286 GB, free: 9.145 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.402e-05/0.3249, allocations: 81.11 kB / 1.286 GB, free: 9.047 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001652/0.3251, allocations: 169.2 kB / 1.286 GB, free: 8.871 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 4.899e-05/0.3251, allocations: 25.7 kB / 1.286 GB, free: 8.84 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.194e-05/0.3252, allocations: 108.3 kB / 1.286 GB, free: 8.73 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 9.848e-06/0.3252, allocations: 11.89 kB / 1.286 GB, free: 8.719 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.741e-05/0.3252, allocations: 17.72 kB / 1.286 GB, free: 8.695 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001563/0.3254, allocations: 318.8 kB / 1.286 GB, free: 8.375 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.78e-05/0.3254, allocations: 4 kB / 1.286 GB, free: 8.371 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.855e-05/0.3254, allocations: 21.72 kB / 1.286 GB, free: 8.344 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.654e-05/0.3255, allocations: 33.64 kB / 1.286 GB, free: 8.305 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.3255, allocations: 0 / 1.286 GB, free: 8.305 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.104e-05/0.3256, allocations: 57.59 kB / 1.287 GB, free: 8.242 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.764e-05/0.3256, allocations: 11.94 kB / 1.287 GB, free: 8.23 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.129e-06/0.3256, allocations: 0 / 1.287 GB, free: 8.23 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.524e-05/0.3256, allocations: 0 / 1.287 GB, free: 8.23 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.499e-05/0.3257, allocations: 7.984 kB / 1.287 GB, free: 8.223 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.165e-06/0.3257, allocations: 4 kB / 1.287 GB, free: 8.219 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.834e-05/0.3257, allocations: 3.953 kB / 1.287 GB, free: 8.215 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.831e-06/0.3257, allocations: 4 kB / 1.287 GB, free: 8.211 MB / 0.9825 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 (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 prepare postOptimizeDAE: time 8.509e-05/0.3258, allocations: 113.9 kB / 1.287 GB, free: 8.09 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.704e-05/0.3259, allocations: 11.89 kB / 1.287 GB, free: 8.078 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.393e-05/0.3259, allocations: 7.812 kB / 1.287 GB, free: 8.07 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.3259, allocations: 0 / 1.287 GB, free: 8.07 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.965e-06/0.3259, allocations: 7.984 kB / 1.287 GB, free: 8.062 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.415e-06/0.3259, allocations: 0 / 1.287 GB, free: 8.062 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004394/0.3263, allocations: 445.8 kB / 1.287 GB, free: 7.57 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.3263, allocations: 0 / 1.287 GB, free: 7.57 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.249e-05/0.3264, allocations: 4 kB / 1.287 GB, free: 7.566 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.068e-06/0.3264, allocations: 4 kB / 1.287 GB, free: 7.562 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.332e-06/0.3264, allocations: 0 / 1.287 GB, free: 7.562 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.3264, allocations: 0 / 1.287 GB, free: 7.562 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.629e-06/0.3264, allocations: 3.938 kB / 1.287 GB, free: 7.559 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.861e-05/0.3265, allocations: 89.94 kB / 1.287 GB, free: 7.449 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 2.684e-05/0.3265, allocations: 7.906 kB / 1.287 GB, free: 7.441 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.531e-05/0.3265, allocations: 7.938 kB / 1.287 GB, free: 7.434 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.039e-05/0.3265, allocations: 0 / 1.287 GB, free: 7.434 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.536e-05/0.3265, allocations: 3.938 kB / 1.287 GB, free: 7.43 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.448e-06/0.3266, allocations: 3.984 kB / 1.287 GB, free: 7.426 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 9.698e-05/0.3266, allocations: 119.3 kB / 1.287 GB, free: 7.309 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.3266, allocations: 0 / 1.287 GB, free: 7.309 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0001934/0.3268, allocations: 11.94 kB / 1.287 GB, free: 7.297 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (2): * Single equations (assignments): 2 * 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.0004346/0.3273, allocations: 0.6171 MB / 1.288 GB, free: 6.648 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 9.022e-05/0.3274, allocations: 15.98 kB / 1.288 GB, free: 6.633 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 5.47e-06/0.3274, allocations: 12.09 kB / 1.288 GB, free: 6.621 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.079e-05/0.3274, allocations: 4 kB / 1.288 GB, free: 6.617 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001626/0.3275, allocations: 8 kB / 1.288 GB, free: 6.609 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001337/0.3289, allocations: 1.325 MB / 1.289 GB, free: 5.188 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003495/0.3292, allocations: 0.6924 MB / 1.29 GB, free: 4.469 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.384e-05/0.3293, allocations: 8.422 kB / 1.29 GB, free: 4.461 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.507e-05/0.3293, allocations: 27.42 kB / 1.29 GB, free: 4.434 MB / 0.9825 GB Notification: Performance of SimCode: time 3.41e-07/0.3293, allocations: 0 / 1.29 GB, free: 4.434 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02789/0.3572, allocations: 1.703 MB / 1.292 GB, free: 2.871 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.78/11.14, allocations: 0 / 1.292 GB, free: 2.871 MB / 0.9825 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_psi_res.csv --start-time 0 --stop-time 10 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_From_psi.fmu > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_psi_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_From_psi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.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: 18.258249999000327]