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.001666/0.001666, allocations: 115.6 kB / 17.16 MB, free: 5.895 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.002153/0.002153, allocations: 215 kB / 20.13 MB, free: 2.949 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.672/1.672, allocations: 230.6 MB / 253.5 MB, free: 15.1 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.964/2.964, allocations: 476.7 MB / 0.7678 GB, free: 9.516 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.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.002464/0.002464, allocations: 71.89 kB / 1.113 GB, free: 15.86 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.332/1.334, allocations: 169.9 MB / 1.279 GB, free: 11.74 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_quad): time 0.002328/1.336, allocations: 0.8358 MB / 1.28 GB, free: 11.19 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0001429/1.337, allocations: 45.83 kB / 1.28 GB, free: 11.16 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.65e-05/1.337, allocations: 1.438 kB / 1.28 GB, free: 11.16 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 4.243e-05/1.337, allocations: 9.469 kB / 1.28 GB, free: 11.15 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001029/1.337, allocations: 10.42 kB / 1.28 GB, free: 11.14 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 5.007e-05/1.337, allocations: 16.22 kB / 1.28 GB, free: 11.13 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001418/1.337, allocations: 62.92 kB / 1.28 GB, free: 11.1 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001718/1.337, allocations: 39.81 kB / 1.28 GB, free: 11.08 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 8.422e-05/1.337, allocations: 27.11 kB / 1.28 GB, free: 11.06 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.073e-05/1.337, allocations: 31.16 kB / 1.28 GB, free: 11.04 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 3.166e-05/1.337, allocations: 6.312 kB / 1.28 GB, free: 11.04 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.377e-05/1.337, allocations: 6.094 kB / 1.28 GB, free: 11.04 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.829e-05/1.337, allocations: 16.19 kB / 1.28 GB, free: 11.03 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 4.719e-05/1.337, allocations: 36.73 kB / 1.28 GB, free: 11 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001459/1.338, allocations: 72.44 kB / 1.28 GB, free: 10.97 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.643e-06/1.338, allocations: 1.156 kB / 1.28 GB, free: 10.97 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.013e-06/1.338, allocations: 0 / 1.28 GB, free: 10.97 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 8.045e-06/1.338, allocations: 4.797 kB / 1.28 GB, free: 10.97 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.0005281/1.338, allocations: 379.9 kB / 1.281 GB, free: 10.58 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.375e-05/1.338, allocations: 9.281 kB / 1.281 GB, free: 10.58 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.505e-05/1.338, allocations: 2.375 kB / 1.281 GB, free: 10.58 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.573e-05/1.338, allocations: 47.69 kB / 1.281 GB, free: 10.53 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.155e-05/1.338, allocations: 9.719 kB / 1.281 GB, free: 10.52 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000273/1.339, allocations: 192.6 kB / 1.281 GB, free: 10.31 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.665e-05/1.339, allocations: 4.344 kB / 1.281 GB, free: 10.31 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.128e-05/1.339, allocations: 16.66 kB / 1.281 GB, free: 10.3 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001947/1.339, allocations: 102.2 kB / 1.281 GB, free: 10.22 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/1.339, allocations: 0 / 1.281 GB, free: 10.22 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.119e-05/1.339, allocations: 1.75 kB / 1.281 GB, free: 10.22 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.041e-06/1.339, allocations: 2.188 kB / 1.281 GB, free: 10.22 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.564e-05/1.339, allocations: 36.12 kB / 1.281 GB, free: 10.21 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006079/1.339, allocations: 441.5 kB / 1.281 GB, free: 9.801 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 7.666e-05/1.34, allocations: 42.55 kB / 1.281 GB, free: 9.746 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.983e-05/1.34, allocations: 14.89 kB / 1.281 GB, free: 9.73 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.382e-05/1.34, allocations: 5.094 kB / 1.281 GB, free: 9.727 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.697e-05/1.34, allocations: 48.42 kB / 1.281 GB, free: 9.672 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/1.34, allocations: 0 / 1.281 GB, free: 9.672 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2): time 0.0001934/1.34, allocations: 53.55 kB / 1.281 GB, free: 9.629 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.382e-05/1.34, allocations: 77.86 kB / 1.282 GB, free: 9.535 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001795/1.34, allocations: 161.1 kB / 1.282 GB, free: 9.418 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.666e-05/1.34, allocations: 25.7 kB / 1.282 GB, free: 9.387 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 8.437e-05/1.34, allocations: 108.2 kB / 1.282 GB, free: 9.285 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.164e-05/1.34, allocations: 9.891 kB / 1.282 GB, free: 9.277 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.614e-05/1.34, allocations: 18.7 kB / 1.282 GB, free: 9.258 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001547/1.34, allocations: 319.6 kB / 1.282 GB, free: 8.941 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.896e-05/1.34, allocations: 3.266 kB / 1.282 GB, free: 8.941 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.87e-05/1.34, allocations: 21.53 kB / 1.282 GB, free: 8.922 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.503e-05/1.34, allocations: 26.14 kB / 1.282 GB, free: 8.898 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/1.34, allocations: 5.188 kB / 1.282 GB, free: 8.895 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.137e-05/1.341, allocations: 56.73 kB / 1.282 GB, free: 8.852 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.881e-05/1.341, allocations: 9.312 kB / 1.282 GB, free: 8.848 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/1.341, allocations: 1.516 kB / 1.282 GB, free: 8.848 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.632e-05/1.341, allocations: 1.094 kB / 1.282 GB, free: 8.848 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.998e-05/1.341, allocations: 10.05 kB / 1.282 GB, free: 8.844 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.253e-06/1.341, allocations: 1.75 kB / 1.282 GB, free: 8.844 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.88e-05/1.341, allocations: 9.734 kB / 1.282 GB, free: 8.836 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.561e-06/1.341, allocations: 1.469 kB / 1.282 GB, free: 8.836 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 9.182e-05/1.341, allocations: 119.9 kB / 1.282 GB, free: 8.715 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.865e-05/1.341, allocations: 12.92 kB / 1.282 GB, free: 8.707 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.128e-05/1.341, allocations: 12.42 kB / 1.282 GB, free: 8.695 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/1.341, allocations: 1.719 kB / 1.282 GB, free: 8.695 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.716e-06/1.341, allocations: 0 / 1.282 GB, free: 8.695 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/1.341, allocations: 1.094 kB / 1.282 GB, free: 8.695 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004542/1.341, allocations: 471.1 kB / 1.283 GB, free: 8.211 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/1.341, allocations: 0 / 1.283 GB, free: 8.211 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.987e-05/1.341, allocations: 7.766 kB / 1.283 GB, free: 8.207 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/1.341, allocations: 1.188 kB / 1.283 GB, free: 8.207 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.642e-06/1.341, allocations: 1.344 kB / 1.283 GB, free: 8.207 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.043e-06/1.341, allocations: 0.7969 kB / 1.283 GB, free: 8.207 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.91e-07/1.341, allocations: 1.312 kB / 1.283 GB, free: 8.207 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001063/1.341, allocations: 88.86 kB / 1.283 GB, free: 8.113 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.846e-05/1.342, allocations: 94 kB / 1.283 GB, free: 8.008 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.594e-05/1.342, allocations: 1.672 kB / 1.283 GB, free: 8.008 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.262e-05/1.342, allocations: 1.297 kB / 1.283 GB, free: 8.008 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.811e-05/1.342, allocations: 1.031 kB / 1.283 GB, free: 8.008 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.122e-06/1.342, allocations: 5.672 kB / 1.283 GB, free: 8.004 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001297/1.342, allocations: 118.4 kB / 1.283 GB, free: 7.918 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9e-08/1.342, allocations: 3.938 kB / 1.283 GB, free: 7.914 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0001939/1.342, allocations: 7.438 kB / 1.283 GB, free: 7.914 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.0005009/1.342, allocations: 0.6201 MB / 1.284 GB, free: 7.297 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001146/1.343, allocations: 15.59 kB / 1.284 GB, free: 7.293 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/1.343, allocations: 4.156 kB / 1.284 GB, free: 7.289 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 1.698e-05/1.343, allocations: 8.297 kB / 1.284 GB, free: 7.285 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000163/1.343, allocations: 10.53 kB / 1.284 GB, free: 7.281 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001571/1.344, allocations: 1.323 MB / 1.285 GB, free: 6.066 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003945/1.345, allocations: 0.6976 MB / 1.286 GB, free: 5.367 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 4.008e-05/1.345, allocations: 7.172 kB / 1.286 GB, free: 5.367 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.794e-05/1.345, allocations: 20.92 kB / 1.286 GB, free: 5.352 MB / 0.9981 GB Notification: Performance of SimCode: time 3.31e-07/1.345, allocations: 3.938 kB / 1.286 GB, free: 5.348 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01875/1.364, allocations: 1.627 MB / 1.287 GB, free: 4.938 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.333/9.697, allocations: 10.73 kB / 1.287 GB, free: 4.93 MB / 0.9981 GB " [Timeout remaining time 290] (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: 16.538518533983734]