Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.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.00165/0.00165, allocations: 111.1 kB / 17.08 MB, free: 6.012 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.001821/0.001821, allocations: 194.2 kB / 20.03 MB, free: 3.082 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.473/1.473, allocations: 222.9 MB / 245.7 MB, free: 4.211 MB / 190.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.041/3.041, allocations: 489.2 MB / 0.7687 GB, free: 3.773 MB / 0.6075 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: translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_hp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_hp") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_hp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_hp") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00195/0.00195, allocations: 67.89 kB / 1.103 GB, free: 0.7617 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8991/0.9011, allocations: 163.8 MB / 1.263 GB, free: 7.996 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_hp): time 0.00296/0.9041, allocations: 0.8398 MB / 1.263 GB, free: 7.469 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0001486/0.9043, allocations: 41.23 kB / 1.263 GB, free: 7.438 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.993e-05/0.9044, allocations: 1.094 kB / 1.263 GB, free: 7.438 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 4.735e-05/0.9044, allocations: 10.48 kB / 1.263 GB, free: 7.43 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001072/0.9045, allocations: 13.86 kB / 1.263 GB, free: 7.418 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 6.82e-05/0.9046, allocations: 21.2 kB / 1.263 GB, free: 7.406 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001652/0.9048, allocations: 58.31 kB / 1.264 GB, free: 7.379 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001941/0.905, allocations: 37.69 kB / 1.264 GB, free: 7.363 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.689e-05/0.9051, allocations: 29.78 kB / 1.264 GB, free: 7.344 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 8.361e-05/0.9052, allocations: 30.56 kB / 1.264 GB, free: 7.324 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.53e-05/0.9052, allocations: 13.64 kB / 1.264 GB, free: 7.316 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.62e-05/0.9052, allocations: 6.125 kB / 1.264 GB, free: 7.316 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.801e-05/0.9053, allocations: 12.34 kB / 1.264 GB, free: 7.309 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 5.066e-05/0.9053, allocations: 32.42 kB / 1.264 GB, free: 7.285 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001633/0.9055, allocations: 73.56 kB / 1.264 GB, free: 7.258 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.232e-06/0.9055, allocations: 1.516 kB / 1.264 GB, free: 7.258 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.154e-06/0.9055, allocations: 0 / 1.264 GB, free: 7.258 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.61e-06/0.9055, allocations: 0 / 1.264 GB, free: 7.258 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.0004517/0.906, allocations: 384.4 kB / 1.264 GB, free: 6.863 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.524e-05/0.906, allocations: 9.219 kB / 1.264 GB, free: 6.863 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.771e-05/0.9061, allocations: 10.27 kB / 1.264 GB, free: 6.859 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002175/0.9063, allocations: 200.4 kB / 1.264 GB, free: 6.641 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.314e-05/0.9064, allocations: 7.844 kB / 1.264 GB, free: 6.637 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.443e-05/0.9064, allocations: 5.109 kB / 1.264 GB, free: 6.637 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002147/0.9066, allocations: 102.1 kB / 1.264 GB, free: 6.559 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.229e-05/0.9066, allocations: 4.875 kB / 1.264 GB, free: 6.555 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.648e-05/0.9067, allocations: 8.781 kB / 1.264 GB, free: 6.547 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.031e-05/0.9067, allocations: 2.797 kB / 1.264 GB, free: 6.547 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000117/0.9068, allocations: 35.72 kB / 1.264 GB, free: 6.535 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005947/0.9074, allocations: 434.4 kB / 1.265 GB, free: 6.133 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 5.758e-05/0.9075, allocations: 46.08 kB / 1.265 GB, free: 6.074 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.407e-05/0.9075, allocations: 20.17 kB / 1.265 GB, free: 6.055 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.546e-05/0.9076, allocations: 0.6562 kB / 1.265 GB, free: 6.055 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.67e-05/0.9076, allocations: 40.22 kB / 1.265 GB, free: 6.008 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 1.573e-06/0.9076, allocations: 0 / 1.265 GB, free: 6.008 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2): time 0.0002409/0.9078, allocations: 61.14 kB / 1.265 GB, free: 5.957 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.757e-05/0.9079, allocations: 78.05 kB / 1.265 GB, free: 5.863 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001878/0.9081, allocations: 161.2 kB / 1.265 GB, free: 5.742 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 7.254e-06/0.9081, allocations: 25.7 kB / 1.265 GB, free: 5.711 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 5.833e-05/0.9082, allocations: 107.8 kB / 1.265 GB, free: 5.609 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.113e-05/0.9082, allocations: 10.66 kB / 1.265 GB, free: 5.602 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.354e-05/0.9082, allocations: 13.92 kB / 1.265 GB, free: 5.586 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.761e-05/0.9083, allocations: 319.3 kB / 1.266 GB, free: 5.27 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.804e-05/0.9083, allocations: 12.3 kB / 1.266 GB, free: 5.262 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.904e-05/0.9084, allocations: 15.92 kB / 1.266 GB, free: 5.246 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.585e-05/0.9084, allocations: 31.5 kB / 1.266 GB, free: 5.219 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.9085, allocations: 0 / 1.266 GB, free: 5.219 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001184/0.9086, allocations: 53.61 kB / 1.266 GB, free: 5.18 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.949e-05/0.9086, allocations: 5.938 kB / 1.266 GB, free: 5.18 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.9086, allocations: 8 kB / 1.266 GB, free: 5.172 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.666e-05/0.9086, allocations: 1.562 kB / 1.266 GB, free: 5.172 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.905e-05/0.9087, allocations: 6.906 kB / 1.266 GB, free: 5.172 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.9088, allocations: 4.719 kB / 1.266 GB, free: 5.168 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.766e-05/0.9088, allocations: 13.61 kB / 1.266 GB, free: 5.156 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.566e-06/0.9088, allocations: 6.578 kB / 1.266 GB, free: 5.152 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 6.28e-05/0.9089, allocations: 112.8 kB / 1.266 GB, free: 5.039 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.283e-05/0.909, allocations: 12.69 kB / 1.266 GB, free: 5.031 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.464e-05/0.909, allocations: 16.83 kB / 1.266 GB, free: 5.02 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.457e-06/0.909, allocations: 0.7812 kB / 1.266 GB, free: 5.02 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.94e-06/0.909, allocations: 0.7812 kB / 1.266 GB, free: 5.02 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.9091, allocations: 1.438 kB / 1.266 GB, free: 5.02 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004213/0.9095, allocations: 474.7 kB / 1.266 GB, free: 4.531 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.9095, allocations: 0 / 1.266 GB, free: 4.531 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.72e-05/0.9095, allocations: 7.656 kB / 1.267 GB, free: 4.527 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.9095, allocations: 0.8125 kB / 1.267 GB, free: 4.527 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.233e-06/0.9096, allocations: 5.375 kB / 1.267 GB, free: 4.523 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.9096, allocations: 0.7812 kB / 1.267 GB, free: 4.523 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.9096, allocations: 1.422 kB / 1.267 GB, free: 4.523 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.918e-05/0.9097, allocations: 81.16 kB / 1.267 GB, free: 4.438 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.407e-05/0.9097, allocations: 90.33 kB / 1.267 GB, free: 4.336 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.905e-05/0.9098, allocations: 1.562 kB / 1.267 GB, free: 4.336 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.797e-05/0.9098, allocations: 4.75 kB / 1.267 GB, free: 4.332 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.187e-05/0.9098, allocations: 1.484 kB / 1.267 GB, free: 4.332 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.507e-06/0.9098, allocations: 1.562 kB / 1.267 GB, free: 4.332 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001054/0.91, allocations: 121 kB / 1.267 GB, free: 4.246 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.7e-07/0.91, allocations: 5.062 kB / 1.267 GB, free: 4.242 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.000322/0.9103, allocations: 6.797 kB / 1.267 GB, free: 4.242 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.0001113/0.9104, allocations: 100.9 kB / 1.267 GB, free: 4.152 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001259/0.9105, allocations: 24.78 kB / 1.267 GB, free: 4.141 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.9106, allocations: 0 / 1.267 GB, free: 4.141 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 1.773e-05/0.9106, allocations: 4.312 kB / 1.267 GB, free: 4.141 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002557/0.9109, allocations: 14 kB / 1.267 GB, free: 4.133 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003415/0.9112, allocations: 187.1 kB / 1.267 GB, free: 3.945 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001288/0.9114, allocations: 0.6964 MB / 1.268 GB, free: 3.246 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.093e-05/0.9114, allocations: 10.75 kB / 1.268 GB, free: 3.238 MB / 0.9981 GB Notification: Performance of SimCode: time 3.21e-07/0.9114, allocations: 0.9375 kB / 1.268 GB, free: 3.238 MB / 0.9981 GB Notification: Performance of Templates: time 0.003651/0.9151, allocations: 0.8621 MB / 1.269 GB, free: 3.172 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_hp -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_hp_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_From_hp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.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: 11.00604116404429]