Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.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.001753/0.001753, allocations: 97.88 kB / 19.73 MB, free: 2.117 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.002301/0.002301, allocations: 217.5 kB / 23.03 MB, free: 4.922 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.556/1.556, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.84/2.84, allocations: 476.8 MB / 0.7715 GB, free: 3.895 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.To_quad,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_To_quad",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_quad,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_To_quad",fmuType="cs",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.001978/0.001978, allocations: 64.53 kB / 1.118 GB, free: 39.63 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3145/0.3165, allocations: 170 MB / 1.284 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_quad): time 0.002038/0.3185, allocations: 0.7899 MB / 1.285 GB, free: 9.852 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.000111/0.3186, allocations: 39.78 kB / 1.285 GB, free: 9.812 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.668e-05/0.3187, allocations: 4 kB / 1.285 GB, free: 9.809 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.272e-05/0.3187, allocations: 3.938 kB / 1.285 GB, free: 9.805 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 8.034e-05/0.3188, allocations: 11.88 kB / 1.285 GB, free: 9.793 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 4.651e-05/0.3188, allocations: 15.98 kB / 1.285 GB, free: 9.777 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001164/0.3189, allocations: 67.77 kB / 1.285 GB, free: 9.711 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000126/0.3191, allocations: 33.53 kB / 1.285 GB, free: 9.68 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 7.179e-05/0.3191, allocations: 31.86 kB / 1.285 GB, free: 9.648 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 4.896e-05/0.3192, allocations: 27.86 kB / 1.285 GB, free: 9.621 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.653e-05/0.3192, allocations: 4 kB / 1.285 GB, free: 9.617 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.154e-05/0.3192, allocations: 8 kB / 1.285 GB, free: 9.609 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.12e-05/0.3192, allocations: 11.92 kB / 1.285 GB, free: 9.598 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.696e-05/0.3193, allocations: 31.75 kB / 1.285 GB, free: 9.566 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001284/0.3194, allocations: 91.06 kB / 1.285 GB, free: 9.48 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.3194, allocations: 0 / 1.285 GB, free: 9.48 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.714e-06/0.3194, allocations: 0 / 1.285 GB, free: 9.48 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.16e-06/0.3194, allocations: 0 / 1.285 GB, free: 9.48 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.0004408/0.3199, allocations: 310 kB / 1.286 GB, free: 9.145 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.52e-05/0.3199, allocations: 8.031 kB / 1.286 GB, free: 9.137 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.672e-05/0.3199, allocations: 4.188 kB / 1.286 GB, free: 9.133 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.941e-05/0.32, allocations: 42.73 kB / 1.286 GB, free: 9.082 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.605e-05/0.32, allocations: 8.891 kB / 1.286 GB, free: 9.074 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001911/0.3202, allocations: 134.4 kB / 1.286 GB, free: 8.918 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.199e-05/0.3202, allocations: 4.375 kB / 1.286 GB, free: 8.914 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.395e-05/0.3202, allocations: 8.375 kB / 1.286 GB, free: 8.906 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001686/0.3204, allocations: 99.59 kB / 1.286 GB, free: 8.797 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.366e-06/0.3204, allocations: 0 / 1.286 GB, free: 8.797 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.181e-05/0.3204, allocations: 4 kB / 1.286 GB, free: 8.793 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.594e-06/0.3204, allocations: 8 kB / 1.286 GB, free: 8.785 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001304/0.3205, allocations: 43.92 kB / 1.286 GB, free: 8.742 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005247/0.321, allocations: 387.8 kB / 1.286 GB, free: 8.316 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 6.734e-05/0.3211, allocations: 41.41 kB / 1.286 GB, free: 8.258 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.343e-05/0.3211, allocations: 17.72 kB / 1.286 GB, free: 8.234 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 7.504e-06/0.3212, allocations: 0 / 1.286 GB, free: 8.234 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.798e-05/0.3212, allocations: 46.48 kB / 1.286 GB, free: 8.18 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 8.81e-07/0.3212, allocations: 0 / 1.286 GB, free: 8.18 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.000173/0.3214, allocations: 57.53 kB / 1.286 GB, free: 8.117 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.201e-05/0.3215, allocations: 77.11 kB / 1.286 GB, free: 8.023 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001683/0.3216, allocations: 158.2 kB / 1.287 GB, free: 7.855 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.941e-05/0.3216, allocations: 25.7 kB / 1.287 GB, free: 7.824 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.852e-05/0.3217, allocations: 108 kB / 1.287 GB, free: 7.715 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 9.167e-06/0.3217, allocations: 11.89 kB / 1.287 GB, free: 7.703 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.609e-05/0.3218, allocations: 17.72 kB / 1.287 GB, free: 7.68 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001409/0.3219, allocations: 318.8 kB / 1.287 GB, free: 7.359 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.836e-05/0.3219, allocations: 4 kB / 1.287 GB, free: 7.355 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.253e-05/0.322, allocations: 25.95 kB / 1.287 GB, free: 7.324 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.176e-05/0.322, allocations: 25.72 kB / 1.287 GB, free: 7.293 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.322, allocations: 0 / 1.287 GB, free: 7.293 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.787e-05/0.3221, allocations: 57.59 kB / 1.287 GB, free: 7.23 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.576e-05/0.3221, allocations: 11.94 kB / 1.287 GB, free: 7.219 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.3221, allocations: 0 / 1.287 GB, free: 7.219 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.133e-05/0.3221, allocations: 0 / 1.287 GB, free: 7.219 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.041e-05/0.3222, allocations: 11.92 kB / 1.287 GB, free: 7.207 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.703e-06/0.3222, allocations: 4 kB / 1.287 GB, free: 7.203 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.969e-05/0.3222, allocations: 8.016 kB / 1.287 GB, free: 7.195 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.961e-06/0.3222, allocations: 4 kB / 1.287 GB, free: 7.191 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.629e-05/0.3223, allocations: 110.7 kB / 1.287 GB, free: 7.074 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.332e-05/0.3224, allocations: 11.89 kB / 1.287 GB, free: 7.062 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.403e-05/0.3224, allocations: 19.73 kB / 1.287 GB, free: 7.043 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-06/0.3224, allocations: 0 / 1.287 GB, free: 7.043 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.3224, allocations: 4 kB / 1.287 GB, free: 7.039 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-06/0.3224, allocations: 0 / 1.287 GB, free: 7.039 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004122/0.3228, allocations: 437.8 kB / 1.288 GB, free: 6.555 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.3228, allocations: 4.062 kB / 1.288 GB, free: 6.551 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.013e-05/0.3228, allocations: 4 kB / 1.288 GB, free: 6.547 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.3228, allocations: 0 / 1.288 GB, free: 6.547 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.911e-06/0.3228, allocations: 0 / 1.288 GB, free: 6.547 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.537e-06/0.3228, allocations: 4 kB / 1.288 GB, free: 6.543 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.3228, allocations: 0 / 1.288 GB, free: 6.543 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.026e-05/0.3229, allocations: 81.88 kB / 1.288 GB, free: 6.441 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 2.433e-05/0.3229, allocations: 7.953 kB / 1.288 GB, free: 6.434 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.273e-05/0.323, allocations: 3.938 kB / 1.288 GB, free: 6.43 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.982e-05/0.323, allocations: 4 kB / 1.288 GB, free: 6.426 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.316e-05/0.323, allocations: 11.95 kB / 1.288 GB, free: 6.414 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.223e-06/0.323, allocations: 4 kB / 1.288 GB, free: 6.41 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 9.731e-05/0.3231, allocations: 125.5 kB / 1.288 GB, free: 6.289 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.3231, allocations: 0 / 1.288 GB, free: 6.289 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0001994/0.3233, allocations: 11.95 kB / 1.288 GB, free: 6.277 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.0004102/0.3237, allocations: 0.6093 MB / 1.289 GB, free: 5.637 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 7.478e-05/0.3238, allocations: 19.94 kB / 1.289 GB, free: 5.617 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.3238, allocations: 0 / 1.289 GB, free: 5.617 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.223e-05/0.3238, allocations: 8.156 kB / 1.289 GB, free: 5.609 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001452/0.324, allocations: 10.06 kB / 1.289 GB, free: 5.602 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001309/0.3253, allocations: 1.326 MB / 1.29 GB, free: 4.18 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.141e-05/0.3253, allocations: 87.62 kB / 1.29 GB, free: 4.074 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.074e-05/0.3254, allocations: 8.516 kB / 1.29 GB, free: 4.066 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.134e-05/0.3254, allocations: 31.55 kB / 1.29 GB, free: 4.035 MB / 0.9825 GB Notification: Performance of SimCode: time 2.81e-07/0.3254, allocations: 0 / 1.29 GB, free: 4.035 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02318/0.3486, allocations: 1.752 MB / 1.292 GB, free: 2.438 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.63/11.97, allocations: 12.89 kB / 1.292 GB, free: 2.43 MB / 0.9825 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_quad_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_To_quad_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_To_quad.fmu > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_quad_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_To_quad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.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.952748227049597]