Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001623/0.001623, allocations: 105 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00157/0.00157, allocations: 187.7 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.517/1.517, allocations: 225.6 MB / 247.8 MB, free: 3.711 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.772/2.772, allocations: 443.5 MB / 0.7287 GB, free: 14.5 MB / 0.5762 GB " [Timeout remaining time 176] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_quad,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_From_quad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_quad,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_From_quad",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002245/0.002245, allocations: 67.89 kB / 1.056 GB, free: 2.434 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3173/0.3195, allocations: 160.7 MB / 1.213 GB, free: 1.406 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_quad): time 0.002341/0.3219, allocations: 0.8292 MB / 1.214 GB, free: 0.5664 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.0001436/0.322, allocations: 43.78 kB / 1.214 GB, free: 0.5234 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.748e-05/0.3221, allocations: 0 / 1.214 GB, free: 0.5234 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 3.987e-05/0.3221, allocations: 7.922 kB / 1.214 GB, free: 0.5156 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 9.004e-05/0.3222, allocations: 11.88 kB / 1.214 GB, free: 0.5039 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 5.65e-05/0.3223, allocations: 15.98 kB / 1.214 GB, free: 500 kB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0001265/0.3224, allocations: 71.78 kB / 1.214 GB, free: 428 kB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001425/0.3225, allocations: 39.95 kB / 1.214 GB, free: 388 kB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 6.563e-05/0.3226, allocations: 27.8 kB / 1.214 GB, free: 360 kB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 6.689e-05/0.3227, allocations: 35.78 kB / 1.214 GB, free: 324 kB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.751e-05/0.3227, allocations: 4 kB / 1.214 GB, free: 320 kB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 1.265e-05/0.3227, allocations: 8 kB / 1.214 GB, free: 312 kB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 1.98e-05/0.3227, allocations: 11.94 kB / 1.214 GB, free: 300 kB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 4.445e-05/0.3227, allocations: 31.8 kB / 1.214 GB, free: 268 kB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0001369/0.3229, allocations: 79.8 kB / 1.214 GB, free: 188 kB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.3229, allocations: 4 kB / 1.214 GB, free: 184 kB / 0.9512 GB Notification: Performance of FrontEnd: time 1.413e-06/0.3229, allocations: 0 / 1.214 GB, free: 184 kB / 0.9512 GB Notification: Performance of Transformations before backend: time 6.623e-06/0.3229, allocations: 4 kB / 1.214 GB, free: 180 kB / 0.9512 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.0005312/0.3234, allocations: 383.1 kB / 1.214 GB, free: 15.75 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.426e-05/0.3235, allocations: 8.031 kB / 1.214 GB, free: 15.74 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.587e-05/0.3235, allocations: 38.75 kB / 1.215 GB, free: 15.7 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.924e-05/0.3236, allocations: 16.83 kB / 1.215 GB, free: 15.68 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002517/0.3238, allocations: 196.2 kB / 1.215 GB, free: 15.45 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.522e-05/0.3238, allocations: 4.375 kB / 1.215 GB, free: 15.45 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.546e-05/0.3239, allocations: 8.375 kB / 1.215 GB, free: 15.44 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001921/0.324, allocations: 94.14 kB / 1.215 GB, free: 15.34 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.106e-05/0.3241, allocations: 3.938 kB / 1.215 GB, free: 15.33 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.327e-05/0.3241, allocations: 7.938 kB / 1.215 GB, free: 15.32 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.344e-06/0.3241, allocations: 4 kB / 1.215 GB, free: 15.32 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.182e-05/0.3242, allocations: 35.92 kB / 1.215 GB, free: 15.29 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006472/0.3248, allocations: 436.7 kB / 1.215 GB, free: 14.8 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 7.901e-05/0.3249, allocations: 37.19 kB / 1.215 GB, free: 14.75 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.141e-05/0.3249, allocations: 21.84 kB / 1.215 GB, free: 14.72 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 7.594e-06/0.3249, allocations: 0 / 1.215 GB, free: 14.72 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.138e-05/0.325, allocations: 30.56 kB / 1.215 GB, free: 14.68 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 8.42e-07/0.325, allocations: 4 kB / 1.215 GB, free: 14.68 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0002176/0.3252, allocations: 65.52 kB / 1.215 GB, free: 14.61 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.075e-05/0.3253, allocations: 77.11 kB / 1.216 GB, free: 14.52 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001839/0.3254, allocations: 155.9 kB / 1.216 GB, free: 14.36 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.745e-05/0.3255, allocations: 25.7 kB / 1.216 GB, free: 14.32 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 9.131e-05/0.3255, allocations: 108.1 kB / 1.216 GB, free: 14.21 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.002e-05/0.3256, allocations: 7.891 kB / 1.216 GB, free: 14.21 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.154e-05/0.3256, allocations: 25.92 kB / 1.216 GB, free: 14.18 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001538/0.3257, allocations: 322.8 kB / 1.216 GB, free: 13.85 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.186e-05/0.3258, allocations: 7.938 kB / 1.216 GB, free: 13.84 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.765e-05/0.3258, allocations: 17.72 kB / 1.216 GB, free: 13.82 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.389e-05/0.3258, allocations: 21.72 kB / 1.216 GB, free: 13.79 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.3258, allocations: 0 / 1.216 GB, free: 13.79 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001036/0.3259, allocations: 69.52 kB / 1.216 GB, free: 13.72 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.14e-05/0.326, allocations: 11.94 kB / 1.216 GB, free: 13.71 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.326, allocations: 0 / 1.216 GB, free: 13.71 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.445e-05/0.326, allocations: 0 / 1.216 GB, free: 13.71 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.301e-05/0.3261, allocations: 8 kB / 1.216 GB, free: 13.7 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.3261, allocations: 0 / 1.216 GB, free: 13.7 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.086e-05/0.3261, allocations: 3.984 kB / 1.216 GB, free: 13.7 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.781e-06/0.3261, allocations: 4 kB / 1.216 GB, free: 13.69 MB / 0.9669 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.53e-05/0.3262, allocations: 117.9 kB / 1.216 GB, free: 13.57 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.774e-05/0.3262, allocations: 11.89 kB / 1.216 GB, free: 13.55 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.786e-05/0.3263, allocations: 7.875 kB / 1.216 GB, free: 13.54 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.3263, allocations: 0 / 1.216 GB, free: 13.54 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.369e-06/0.3263, allocations: 4 kB / 1.216 GB, free: 13.54 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.3263, allocations: 0 / 1.216 GB, free: 13.54 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000482/0.3268, allocations: 474.7 kB / 1.217 GB, free: 13.01 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.3268, allocations: 8.047 kB / 1.217 GB, free: 13 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.429e-05/0.3268, allocations: 11.94 kB / 1.217 GB, free: 12.99 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/0.3268, allocations: 0 / 1.217 GB, free: 12.99 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.144e-06/0.3268, allocations: 0 / 1.217 GB, free: 12.99 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.3268, allocations: 0 / 1.217 GB, free: 12.99 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.3268, allocations: 0 / 1.217 GB, free: 12.99 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.89e-05/0.3269, allocations: 81.89 kB / 1.217 GB, free: 12.89 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 7.628e-05/0.327, allocations: 89.08 kB / 1.217 GB, free: 12.79 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.75e-05/0.327, allocations: 4 kB / 1.217 GB, free: 12.78 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.004e-05/0.327, allocations: 0 / 1.217 GB, free: 12.78 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.205e-05/0.327, allocations: 0 / 1.217 GB, free: 12.78 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.284e-06/0.327, allocations: 96 / 1.217 GB, free: 12.78 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0001084/0.3271, allocations: 125.3 kB / 1.217 GB, free: 12.66 MB / 0.9669 GB Notification: Performance of sort global known variables: time 8e-08/0.3271, allocations: 0 / 1.217 GB, free: 12.66 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002343/0.3274, allocations: 15.88 kB / 1.217 GB, free: 12.64 MB / 0.9669 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.0004883/0.3279, allocations: 0.6171 MB / 1.218 GB, free: 12 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 9.575e-05/0.328, allocations: 23.92 kB / 1.218 GB, free: 11.97 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.328, allocations: 0 / 1.218 GB, free: 11.97 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 8.757e-06/0.328, allocations: 4.219 kB / 1.218 GB, free: 11.97 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001685/0.3281, allocations: 16.05 kB / 1.218 GB, free: 11.95 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001438/0.3296, allocations: 1.33 MB / 1.219 GB, free: 10.52 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000354/0.3299, allocations: 0.6885 MB / 1.22 GB, free: 9.809 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 4.01e-05/0.33, allocations: 20.36 kB / 1.22 GB, free: 9.789 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.452e-05/0.33, allocations: 19.44 kB / 1.22 GB, free: 9.77 MB / 0.9669 GB Notification: Performance of SimCode: time 5.31e-07/0.33, allocations: 4 kB / 1.22 GB, free: 9.766 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02671/0.3567, allocations: 1.596 MB / 1.221 GB, free: 8.277 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.096/8.453, allocations: 0.7031 kB / 1.221 GB, free: 8.277 MB / 0.9669 GB " [Timeout remaining time 291] (rm -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_quad_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_From_quad_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_From_quad.fmu > Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_quad_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_UnitConversions_Validation_From_quad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 14.70747766783461]