Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.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.001308/0.001308, allocations: 107.4 kB / 16.45 MB, free: 6.035 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.001395/0.001395, allocations: 191.8 kB / 19.41 MB, free: 3.539 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.472/1.472, allocations: 225.6 MB / 247.8 MB, free: 13.92 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.34/3.34, allocations: 497.2 MB / 0.7811 GB, free: 33.77 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_gal,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_gal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_gal,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_gal",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001984/0.001984, allocations: 71.02 kB / 1.134 GB, free: 33.76 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3597/0.3617, allocations: 173.9 MB / 1.304 GB, free: 1.5 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_gal): time 0.00227/0.364, allocations: 0.8291 MB / 1.305 GB, free: 0.6719 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0001164/0.3641, allocations: 43.78 kB / 1.305 GB, free: 0.6289 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.471e-05/0.3642, allocations: 4 kB / 1.305 GB, free: 0.625 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 4.209e-05/0.3642, allocations: 11.86 kB / 1.305 GB, free: 0.6133 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 8.225e-05/0.3643, allocations: 7.875 kB / 1.305 GB, free: 0.6055 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 5.579e-05/0.3644, allocations: 23.98 kB / 1.305 GB, free: 0.582 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001169/0.3645, allocations: 59.84 kB / 1.305 GB, free: 0.5234 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001413/0.3646, allocations: 31.95 kB / 1.305 GB, free: 0.4922 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.485e-05/0.3647, allocations: 23.88 kB / 1.305 GB, free: 480 kB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.712e-05/0.3647, allocations: 35.72 kB / 1.305 GB, free: 444 kB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.716e-05/0.3648, allocations: 8 kB / 1.305 GB, free: 436 kB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 8.887e-06/0.3648, allocations: 4 kB / 1.305 GB, free: 432 kB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.532e-05/0.3648, allocations: 15.94 kB / 1.305 GB, free: 416 kB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 4.413e-05/0.3648, allocations: 35.8 kB / 1.305 GB, free: 380 kB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.00013/0.365, allocations: 71.86 kB / 1.305 GB, free: 308 kB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.365, allocations: 4 kB / 1.305 GB, free: 304 kB / 0.9981 GB Notification: Performance of FrontEnd: time 2.044e-06/0.365, allocations: 0 / 1.305 GB, free: 304 kB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.513e-06/0.365, allocations: 0 / 1.305 GB, free: 304 kB / 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.0005338/0.3655, allocations: 391.1 kB / 1.306 GB, free: 15.86 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.815e-05/0.3656, allocations: 12.92 kB / 1.306 GB, free: 15.85 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.735e-05/0.3656, allocations: 38.69 kB / 1.306 GB, free: 15.8 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.184e-05/0.3656, allocations: 8.891 kB / 1.306 GB, free: 15.8 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000264/0.3659, allocations: 192.2 kB / 1.306 GB, free: 15.57 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.098e-05/0.3659, allocations: 4.375 kB / 1.306 GB, free: 15.57 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.9e-05/0.3659, allocations: 12.38 kB / 1.306 GB, free: 15.55 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001769/0.3661, allocations: 91.89 kB / 1.306 GB, free: 15.45 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.385e-05/0.3661, allocations: 3.938 kB / 1.306 GB, free: 15.45 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.099e-05/0.3661, allocations: 7.938 kB / 1.306 GB, free: 15.44 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.72e-06/0.3662, allocations: 0 / 1.306 GB, free: 15.44 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.624e-05/0.3662, allocations: 35.98 kB / 1.306 GB, free: 15.41 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006109/0.3668, allocations: 444.7 kB / 1.306 GB, free: 14.92 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 6.414e-05/0.3669, allocations: 37.16 kB / 1.306 GB, free: 14.86 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.859e-05/0.367, allocations: 13.84 kB / 1.306 GB, free: 14.84 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.076e-05/0.367, allocations: 8.031 kB / 1.306 GB, free: 14.84 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.089e-05/0.367, allocations: 38.56 kB / 1.306 GB, free: 14.79 MB / 1.014 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.367, allocations: 0 / 1.306 GB, free: 14.79 MB / 1.014 GB Notification: Performance of matching and sorting (n=2): time 0.0001898/0.3672, allocations: 57.52 kB / 1.306 GB, free: 14.73 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.239e-05/0.3672, allocations: 85.05 kB / 1.307 GB, free: 14.62 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001701/0.3674, allocations: 157.3 kB / 1.307 GB, free: 14.46 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.997e-05/0.3674, allocations: 29.7 kB / 1.307 GB, free: 14.43 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 7.76e-05/0.3675, allocations: 108.2 kB / 1.307 GB, free: 14.32 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 9.478e-06/0.3675, allocations: 7.953 kB / 1.307 GB, free: 14.31 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.557e-05/0.3676, allocations: 17.72 kB / 1.307 GB, free: 14.29 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001598/0.3677, allocations: 318.8 kB / 1.307 GB, free: 13.97 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.726e-05/0.3677, allocations: 4 kB / 1.307 GB, free: 13.96 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.666e-05/0.3678, allocations: 17.72 kB / 1.307 GB, free: 13.94 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.355e-05/0.3678, allocations: 33.64 kB / 1.307 GB, free: 13.9 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.3678, allocations: 4 kB / 1.307 GB, free: 13.9 MB / 1.014 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.615e-05/0.3679, allocations: 53.66 kB / 1.307 GB, free: 13.84 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.78e-05/0.3679, allocations: 10.12 kB / 1.307 GB, free: 13.83 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.737e-06/0.3679, allocations: 4 kB / 1.307 GB, free: 13.83 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.321e-05/0.3679, allocations: 0 / 1.307 GB, free: 13.83 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.325e-05/0.368, allocations: 11.92 kB / 1.307 GB, free: 13.82 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.528e-06/0.368, allocations: 0 / 1.307 GB, free: 13.82 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.023e-05/0.368, allocations: 7.953 kB / 1.307 GB, free: 13.81 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.697e-06/0.368, allocations: 0 / 1.307 GB, free: 13.81 MB / 1.014 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.757e-05/0.3681, allocations: 121.9 kB / 1.307 GB, free: 13.68 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.942e-05/0.3682, allocations: 11.89 kB / 1.307 GB, free: 13.67 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.721e-05/0.3682, allocations: 11.88 kB / 1.307 GB, free: 13.65 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.282e-06/0.3682, allocations: 0 / 1.307 GB, free: 13.65 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.3682, allocations: 0 / 1.307 GB, free: 13.65 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.057e-06/0.3682, allocations: 11.98 kB / 1.307 GB, free: 13.64 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004273/0.3687, allocations: 474.8 kB / 1.308 GB, free: 13.11 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.799e-06/0.3687, allocations: 4 kB / 1.308 GB, free: 13.11 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.792e-05/0.3687, allocations: 3.984 kB / 1.308 GB, free: 13.11 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.3687, allocations: 4 kB / 1.308 GB, free: 13.1 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.59e-06/0.3687, allocations: 0 / 1.308 GB, free: 13.1 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.3687, allocations: 0 / 1.308 GB, free: 13.1 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.3687, allocations: 3.984 kB / 1.308 GB, free: 13.1 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001074/0.3688, allocations: 85.88 kB / 1.308 GB, free: 12.99 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 6.517e-05/0.3689, allocations: 89 kB / 1.308 GB, free: 12.89 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.617e-05/0.3689, allocations: 4 kB / 1.308 GB, free: 12.88 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.183e-05/0.3689, allocations: 4 kB / 1.308 GB, free: 12.88 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.665e-05/0.3689, allocations: 3.984 kB / 1.308 GB, free: 12.88 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.244e-06/0.3689, allocations: 0 / 1.308 GB, free: 12.88 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0001035/0.369, allocations: 118.3 kB / 1.308 GB, free: 12.76 MB / 1.014 GB Notification: Performance of sort global known variables: time 9e-08/0.369, allocations: 0 / 1.308 GB, free: 12.76 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0001934/0.3692, allocations: 15.94 kB / 1.308 GB, free: 12.75 MB / 1.014 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.0004428/0.3697, allocations: 0.6171 MB / 1.309 GB, free: 12.1 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 9.635e-05/0.3698, allocations: 19.98 kB / 1.309 GB, free: 12.08 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.3698, allocations: 160 / 1.309 GB, free: 12.08 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 1.26e-05/0.3698, allocations: 11.94 kB / 1.309 GB, free: 12.07 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001585/0.3699, allocations: 11.91 kB / 1.309 GB, free: 12.05 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001388/0.3713, allocations: 1.32 MB / 1.31 GB, free: 10.63 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003473/0.3717, allocations: 0.6968 MB / 1.311 GB, free: 9.91 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 3.457e-05/0.3717, allocations: 8.422 kB / 1.311 GB, free: 9.902 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.893e-05/0.3718, allocations: 27.42 kB / 1.311 GB, free: 9.875 MB / 1.014 GB Notification: Performance of SimCode: time 3.5e-07/0.3718, allocations: 3.938 kB / 1.311 GB, free: 9.871 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02484/0.3966, allocations: 1.571 MB / 1.312 GB, free: 8.406 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.274/8.67, allocations: 27.2 kB / 1.312 GB, free: 8.383 MB / 1.014 GB " [Timeout remaining time 291] (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_gal_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_gal_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_gal.fmu > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_gal_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_From_gal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.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: 15.644219279754907]