Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_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.001335/0.001335, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.002056/0.002056, allocations: 219.2 kB / 23.03 MB, free: 4.945 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.525/1.525, allocations: 230.6 MB / 256.8 MB, free: 7.793 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.917/2.917, allocations: 476.8 MB / 0.7715 GB, free: 3.93 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_quad,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_From_quad",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_quad,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_From_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.002052/0.002052, allocations: 65 kB / 1.118 GB, free: 39.59 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3379/0.34, allocations: 170 MB / 1.284 GB, free: 10.67 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_quad): time 0.002523/0.3425, allocations: 0.7845 MB / 1.285 GB, free: 9.887 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0001592/0.3427, allocations: 47.72 kB / 1.285 GB, free: 9.84 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.079e-05/0.3427, allocations: 0 / 1.285 GB, free: 9.84 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 4.763e-05/0.3428, allocations: 11.88 kB / 1.285 GB, free: 9.828 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 9.353e-05/0.3429, allocations: 11.86 kB / 1.285 GB, free: 9.816 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 5.563e-05/0.3429, allocations: 19.98 kB / 1.285 GB, free: 9.797 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001464/0.3431, allocations: 59.84 kB / 1.285 GB, free: 9.738 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001604/0.3432, allocations: 35.64 kB / 1.285 GB, free: 9.707 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 6.689e-05/0.3433, allocations: 27.86 kB / 1.285 GB, free: 9.68 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 6.506e-05/0.3434, allocations: 27.8 kB / 1.285 GB, free: 9.652 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.818e-05/0.3434, allocations: 4 kB / 1.285 GB, free: 9.648 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.263e-05/0.3434, allocations: 11.94 kB / 1.285 GB, free: 9.637 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.755e-05/0.3434, allocations: 15.92 kB / 1.285 GB, free: 9.621 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.413e-05/0.3435, allocations: 27.86 kB / 1.285 GB, free: 9.594 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001596/0.3436, allocations: 81.05 kB / 1.285 GB, free: 9.516 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.3436, allocations: 0 / 1.285 GB, free: 9.516 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.064e-06/0.3436, allocations: 0 / 1.285 GB, free: 9.516 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.271e-06/0.3436, allocations: 0 / 1.285 GB, free: 9.516 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.0004715/0.3441, allocations: 309.9 kB / 1.286 GB, free: 9.18 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.79e-05/0.3442, allocations: 16.02 kB / 1.286 GB, free: 9.164 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.593e-05/0.3442, allocations: 192 / 1.286 GB, free: 9.164 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.789e-05/0.3442, allocations: 38.75 kB / 1.286 GB, free: 9.117 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.267e-05/0.3443, allocations: 12.83 kB / 1.286 GB, free: 9.105 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002213/0.3445, allocations: 130.4 kB / 1.286 GB, free: 8.953 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.355e-05/0.3445, allocations: 8.375 kB / 1.286 GB, free: 8.945 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.969e-05/0.3445, allocations: 12.38 kB / 1.286 GB, free: 8.934 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001857/0.3447, allocations: 99.53 kB / 1.286 GB, free: 8.824 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.167e-06/0.3447, allocations: 0 / 1.286 GB, free: 8.824 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.183e-05/0.3447, allocations: 4 kB / 1.286 GB, free: 8.82 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.3447, allocations: 4 kB / 1.286 GB, free: 8.816 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.374e-05/0.3448, allocations: 31.98 kB / 1.286 GB, free: 8.785 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005883/0.3454, allocations: 395.8 kB / 1.286 GB, free: 8.352 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 8.486e-05/0.3455, allocations: 37.22 kB / 1.286 GB, free: 8.297 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.815e-05/0.3455, allocations: 21.77 kB / 1.286 GB, free: 8.27 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.145e-05/0.3455, allocations: 96 / 1.286 GB, free: 8.27 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.27e-05/0.3456, allocations: 46.44 kB / 1.286 GB, free: 8.215 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 3.006e-06/0.3456, allocations: 3.984 kB / 1.286 GB, free: 8.211 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0001826/0.3457, allocations: 49.59 kB / 1.286 GB, free: 8.156 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.444e-05/0.3458, allocations: 77.11 kB / 1.286 GB, free: 8.062 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001624/0.346, allocations: 158.2 kB / 1.287 GB, free: 7.895 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.444e-05/0.346, allocations: 25.7 kB / 1.287 GB, free: 7.863 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.861e-05/0.3461, allocations: 112.2 kB / 1.287 GB, free: 7.75 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 9.468e-06/0.3461, allocations: 7.953 kB / 1.287 GB, free: 7.742 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.963e-05/0.3461, allocations: 21.7 kB / 1.287 GB, free: 7.715 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000142/0.3462, allocations: 314.8 kB / 1.287 GB, free: 7.398 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.749e-05/0.3463, allocations: 4 kB / 1.287 GB, free: 7.395 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.316e-05/0.3463, allocations: 25.7 kB / 1.287 GB, free: 7.363 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.641e-05/0.3463, allocations: 25.66 kB / 1.287 GB, free: 7.332 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.606e-06/0.3463, allocations: 7.938 kB / 1.287 GB, free: 7.324 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.367e-05/0.3464, allocations: 57.64 kB / 1.287 GB, free: 7.262 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.638e-05/0.3465, allocations: 19.94 kB / 1.287 GB, free: 7.242 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.3465, allocations: 0 / 1.287 GB, free: 7.242 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.256e-05/0.3465, allocations: 0 / 1.287 GB, free: 7.242 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.308e-05/0.3465, allocations: 7.938 kB / 1.287 GB, free: 7.234 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.3465, allocations: 4 kB / 1.287 GB, free: 7.23 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.078e-05/0.3466, allocations: 3.953 kB / 1.287 GB, free: 7.227 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.947e-06/0.3466, allocations: 4 kB / 1.287 GB, free: 7.223 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.74e-05/0.3467, allocations: 113.8 kB / 1.287 GB, free: 7.102 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.654e-05/0.3467, allocations: 11.89 kB / 1.287 GB, free: 7.09 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.091e-05/0.3467, allocations: 11.8 kB / 1.287 GB, free: 7.078 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.568e-06/0.3467, allocations: 8 kB / 1.287 GB, free: 7.07 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.179e-06/0.3468, allocations: 0 / 1.287 GB, free: 7.07 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.3468, allocations: 0 / 1.287 GB, free: 7.07 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004711/0.3472, allocations: 437.8 kB / 1.288 GB, free: 6.586 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.3472, allocations: 0 / 1.288 GB, free: 6.586 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.441e-05/0.3473, allocations: 4 kB / 1.288 GB, free: 6.582 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.716e-06/0.3473, allocations: 0 / 1.288 GB, free: 6.582 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.814e-06/0.3473, allocations: 0 / 1.288 GB, free: 6.582 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.275e-06/0.3473, allocations: 4 kB / 1.288 GB, free: 6.578 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.078e-06/0.3473, allocations: 3.984 kB / 1.288 GB, free: 6.574 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000131/0.3474, allocations: 85.89 kB / 1.288 GB, free: 6.469 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 3.289e-05/0.3474, allocations: 11.94 kB / 1.288 GB, free: 6.457 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.654e-05/0.3475, allocations: 0 / 1.288 GB, free: 6.457 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.327e-05/0.3475, allocations: 4 kB / 1.288 GB, free: 6.453 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.905e-05/0.3475, allocations: 0 / 1.288 GB, free: 6.453 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.304e-06/0.3475, allocations: 0 / 1.288 GB, free: 6.453 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001263/0.3476, allocations: 125.3 kB / 1.288 GB, free: 6.332 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7.1e-08/0.3476, allocations: 0 / 1.288 GB, free: 6.332 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002086/0.3478, allocations: 11.95 kB / 1.288 GB, free: 6.32 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.0005032/0.3483, allocations: 0.621 MB / 1.289 GB, free: 5.668 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001151/0.3484, allocations: 12 kB / 1.289 GB, free: 5.656 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.3485, allocations: 0 / 1.289 GB, free: 5.656 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.507e-05/0.3485, allocations: 7.938 kB / 1.289 GB, free: 5.648 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000182/0.3486, allocations: 8 kB / 1.289 GB, free: 5.641 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001542/0.3502, allocations: 1.33 MB / 1.29 GB, free: 4.215 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.834e-05/0.3503, allocations: 95.8 kB / 1.29 GB, free: 4.102 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.629e-05/0.3503, allocations: 4.438 kB / 1.29 GB, free: 4.098 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.579e-05/0.3504, allocations: 27.42 kB / 1.29 GB, free: 4.07 MB / 0.9825 GB Notification: Performance of SimCode: time 7.92e-07/0.3504, allocations: 0 / 1.29 GB, free: 4.07 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02444/0.3748, allocations: 1.767 MB / 1.292 GB, free: 2.461 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.49/11.86, allocations: 10.81 kB / 1.292 GB, free: 2.457 MB / 0.9825 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_quad_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_From_quad_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_From_quad.fmu > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_quad_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_From_quad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_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.90622649702709]