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.001452/0.001452, allocations: 116.8 kB / 17.17 MB, free: 5.977 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.001987/0.001987, allocations: 209.6 kB / 20.13 MB, free: 3.035 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.595/1.595, allocations: 230.6 MB / 253.5 MB, free: 15.12 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.908/2.908, allocations: 476.7 MB / 0.7678 GB, free: 9.348 MB / 0.6075 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.002269/0.002269, allocations: 67.89 kB / 1.113 GB, free: 15.82 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.014/1.016, allocations: 169.9 MB / 1.279 GB, free: 11.71 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_quad): time 0.002118/1.018, allocations: 0.8305 MB / 1.28 GB, free: 11.17 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.00011/1.018, allocations: 41.12 kB / 1.28 GB, free: 11.14 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.308e-05/1.018, allocations: 1.125 kB / 1.28 GB, free: 11.14 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.53e-05/1.018, allocations: 9.703 kB / 1.28 GB, free: 11.13 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 7.587e-05/1.018, allocations: 9.797 kB / 1.28 GB, free: 11.12 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 4.88e-05/1.018, allocations: 21.14 kB / 1.28 GB, free: 11.11 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001202/1.018, allocations: 62.31 kB / 1.28 GB, free: 11.08 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001313/1.018, allocations: 32.34 kB / 1.28 GB, free: 11.07 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.394e-05/1.019, allocations: 34 kB / 1.28 GB, free: 11.04 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.184e-05/1.019, allocations: 27.2 kB / 1.28 GB, free: 11.03 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.797e-05/1.019, allocations: 6 kB / 1.28 GB, free: 11.03 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.012e-05/1.019, allocations: 5.531 kB / 1.28 GB, free: 11.03 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.482e-05/1.019, allocations: 17.47 kB / 1.28 GB, free: 11.02 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 4.154e-05/1.019, allocations: 35.98 kB / 1.28 GB, free: 10.99 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001447/1.019, allocations: 77.02 kB / 1.28 GB, free: 10.95 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/1.019, allocations: 0 / 1.28 GB, free: 10.95 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.413e-06/1.019, allocations: 0 / 1.28 GB, free: 10.95 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.114e-05/1.019, allocations: 5.672 kB / 1.28 GB, free: 10.95 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0005562/1.019, allocations: 384.3 kB / 1.281 GB, free: 10.55 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.52e-05/1.019, allocations: 9.812 kB / 1.281 GB, free: 10.55 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.57e-05/1.019, allocations: 1.281 kB / 1.281 GB, free: 10.55 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.371e-05/1.02, allocations: 47.53 kB / 1.281 GB, free: 10.5 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.339e-05/1.02, allocations: 10.17 kB / 1.281 GB, free: 10.5 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000255/1.02, allocations: 196.8 kB / 1.281 GB, free: 10.29 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.528e-05/1.02, allocations: 2.719 kB / 1.281 GB, free: 10.29 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.174e-05/1.02, allocations: 9.406 kB / 1.281 GB, free: 10.28 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001957/1.02, allocations: 99.23 kB / 1.281 GB, free: 10.21 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/1.02, allocations: 3.938 kB / 1.281 GB, free: 10.2 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.614e-05/1.02, allocations: 5.375 kB / 1.281 GB, free: 10.2 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.588e-06/1.02, allocations: 2.203 kB / 1.281 GB, free: 10.2 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.486e-05/1.02, allocations: 35.84 kB / 1.281 GB, free: 10.19 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006943/1.021, allocations: 438.9 kB / 1.281 GB, free: 9.781 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 7.837e-05/1.021, allocations: 41.03 kB / 1.281 GB, free: 9.727 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.396e-05/1.021, allocations: 15.34 kB / 1.281 GB, free: 9.711 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.456e-06/1.021, allocations: 0.8125 kB / 1.281 GB, free: 9.711 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.336e-05/1.021, allocations: 44.77 kB / 1.281 GB, free: 9.66 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 1.313e-06/1.021, allocations: 4 kB / 1.281 GB, free: 9.656 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2): time 0.0002024/1.021, allocations: 49.58 kB / 1.281 GB, free: 9.617 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.934e-05/1.021, allocations: 82.02 kB / 1.282 GB, free: 9.52 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001997/1.022, allocations: 157.7 kB / 1.282 GB, free: 9.402 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.877e-05/1.022, allocations: 26.8 kB / 1.282 GB, free: 9.371 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 9.548e-05/1.022, allocations: 107.1 kB / 1.282 GB, free: 9.27 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.133e-05/1.022, allocations: 6.609 kB / 1.282 GB, free: 9.266 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.726e-05/1.022, allocations: 22.05 kB / 1.282 GB, free: 9.242 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001537/1.022, allocations: 323.8 kB / 1.282 GB, free: 8.922 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.041e-05/1.022, allocations: 4.547 kB / 1.282 GB, free: 8.922 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.306e-05/1.022, allocations: 20.52 kB / 1.282 GB, free: 8.902 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.241e-05/1.022, allocations: 22.34 kB / 1.282 GB, free: 8.883 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/1.022, allocations: 3.938 kB / 1.282 GB, free: 8.879 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001026/1.022, allocations: 61.69 kB / 1.282 GB, free: 8.832 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.012e-05/1.022, allocations: 9.5 kB / 1.282 GB, free: 8.828 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/1.022, allocations: 1.062 kB / 1.282 GB, free: 8.828 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.805e-05/1.022, allocations: 1.703 kB / 1.282 GB, free: 8.828 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.898e-05/1.022, allocations: 6.25 kB / 1.282 GB, free: 8.828 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.152e-05/1.022, allocations: 5.062 kB / 1.282 GB, free: 8.824 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.622e-05/1.022, allocations: 9.578 kB / 1.282 GB, free: 8.816 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.196e-06/1.022, allocations: 1.656 kB / 1.282 GB, free: 8.816 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 (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 0.0001025/1.022, allocations: 122.2 kB / 1.282 GB, free: 8.691 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.736e-05/1.022, allocations: 11.83 kB / 1.282 GB, free: 8.684 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.412e-05/1.022, allocations: 13.28 kB / 1.282 GB, free: 8.672 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/1.022, allocations: 1 kB / 1.282 GB, free: 8.672 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.216e-06/1.022, allocations: 5.109 kB / 1.282 GB, free: 8.668 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/1.022, allocations: 0.7969 kB / 1.282 GB, free: 8.668 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004972/1.023, allocations: 467 kB / 1.283 GB, free: 8.188 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/1.023, allocations: 4.062 kB / 1.283 GB, free: 8.184 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.989e-05/1.023, allocations: 3.781 kB / 1.283 GB, free: 8.184 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/1.023, allocations: 1.188 kB / 1.283 GB, free: 8.184 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.923e-06/1.023, allocations: 0.875 kB / 1.283 GB, free: 8.184 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.821e-06/1.023, allocations: 5.609 kB / 1.283 GB, free: 8.18 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/1.023, allocations: 0 / 1.283 GB, free: 8.18 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001111/1.023, allocations: 89.8 kB / 1.283 GB, free: 8.086 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.104e-05/1.023, allocations: 90.56 kB / 1.283 GB, free: 7.984 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.884e-05/1.023, allocations: 2.25 kB / 1.283 GB, free: 7.984 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.106e-05/1.023, allocations: 0 / 1.283 GB, free: 7.984 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.566e-05/1.023, allocations: 5.062 kB / 1.283 GB, free: 7.98 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.196e-06/1.023, allocations: 1.844 kB / 1.283 GB, free: 7.98 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001274/1.023, allocations: 120.6 kB / 1.283 GB, free: 7.895 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/1.023, allocations: 0.5 kB / 1.283 GB, free: 7.895 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0001986/1.024, allocations: 7.281 kB / 1.283 GB, free: 7.895 MB / 0.9981 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.0004859/1.024, allocations: 0.6162 MB / 1.284 GB, free: 7.281 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001031/1.024, allocations: 23.72 kB / 1.284 GB, free: 7.27 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/1.024, allocations: 0 / 1.284 GB, free: 7.27 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 1.469e-05/1.024, allocations: 8.312 kB / 1.284 GB, free: 7.266 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001614/1.024, allocations: 11.67 kB / 1.284 GB, free: 7.258 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001423/1.026, allocations: 1.319 MB / 1.285 GB, free: 6.047 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000334/1.026, allocations: 0.6973 MB / 1.286 GB, free: 5.348 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 3.203e-05/1.026, allocations: 6.047 kB / 1.286 GB, free: 5.348 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.429e-05/1.026, allocations: 21.69 kB / 1.286 GB, free: 5.332 MB / 0.9981 GB Notification: Performance of SimCode: time 3.11e-07/1.026, allocations: 1.031 kB / 1.286 GB, free: 5.332 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02553/1.052, allocations: 1.638 MB / 1.287 GB, free: 4.914 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.348/9.4, allocations: 13.75 kB / 1.287 GB, free: 4.906 MB / 0.9981 GB " [Timeout remaining time 290] (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: 16.055144326994196]